Answers for "how to use git commit --amend for amend codes"

2

git commit --amend choose editor

git config --global core.editor "/bin/nano"
Posted by: Guest on September-02-2020
0

git commit --amend with commit id

git commit --amend -m "new commit message"
$ git push --force-with-lease branch-name
Posted by: Guest on December-07-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language