Git commit message change

To edit git message we need to run following instructions.

git rebase -i HEAD~no_of_commit
You will get a editor.Change pick to edit.Then save and exit using :wq command now run following command
git commit --amend
git rebase --continue
Reactions

Post a Comment

0 Comments