Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to change a commit message after push

git commit --amend -m "New commit message"
Then
git push --force
and you're done
Comment

git amend commit message after push

$ git commit --amend -m "New and correct message"
Comment

git amend commit message after push

git checkout branch_name
git commit --amend -m "Modified message"
# if previous commit is not pushed yet
git push
# or if previous comment was pushed in a previous commit:
git push --force-with-lease branch_name
Comment

change of commit message after push

$ git push --force origin example-branch
Comment

how to change a commit message in git after push

git commit --amend -m "New commit message"
Then
git push --force
Comment

change commit message after push

git push --force <repository> <branch>
Comment

change commit message after push

git push --force-with-lease <repository> <branch>
Comment

PREVIOUS NEXT
Code Example
Shell :: setting sublimeREPL in linux 
Shell :: pyinstaller failed to execute script pyi_rth_pkgres 
Shell :: remove tracked files git 
Shell :: force pull in git 
Shell :: bash remove trailing slash 
Shell :: powershell delete folder contents 
Shell :: how to reset back to commit id in git 
Shell :: fortinet vpn client for ubuntu 
Shell :: run dotnet core app 
Shell :: powershell script path 
Shell :: openssl p12 to pem 
Shell :: install leafpad ubuntu 2021 
Shell :: docker build name 
Shell :: delete all files with specific name ubuntu 
Shell :: sudo apt install ubuntu-desktop ? 
Shell :: ubuntu empty a file 
Shell :: how to push folder into private repo github 
Shell :: git increase buffer size 
Shell :: linux adb 
Shell :: how to check laravel installer version 
Shell :: ip info on ubuntu 
Shell :: docker-compose update code without using build again 
Shell :: git code push 
Shell :: install openssl 1.0.2 
Shell :: open pdf command line linux 
Shell :: docker console into container 
Shell :: shell load file as variable 
Shell :: IlluminateHttpExceptionsPostTooLargeException Ubuntu 
Shell :: how to filter 12 character words from file bash 
Shell :: bash rename file 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =