Mar 302010
 

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

 Posted by on March 30 2010  Tagged with: