Q | I have done a git commit but want to append to the comments I have added. |
A | In the root of your repository directory you will find a .git folder. In there there is a file “COMMIT_EDITMSG” which contains the comments for the current commit. To bring up the default editor (VIM, unless you have your custom editor specified in the [core] section of .gitconfig – located in the home directory – e.g. “editor = e:\\JGSoft\\EditPadPro6\\Editpadpro.exe, you can do git commit –amend |
One Response to “Git tip: add to comments”
Sorry, the comment form is closed at this time.
git commit -m comments I have added