Git commit path vs rebase path
- From
Steven Penny <svnpenn@gmail.com>
- Date
- May 6, 2012, 04:24 UTC
- Message-ID
- <CAAXzdLU6bQ7ta4_-WfGJVaJgt1R5tX=4PW2sq3SdjAB+F72w+Q@mail.gmail.com>
I have noticed
git commit uses this path
.git/COMMIT_EDITMSG
git rebase uses this path
/home/Steven/jquery/.git/rebase-merge/git-rebase-todo
So git commit is using a relative path while git rebase is using absolute path.
This causes problem in Windows if your editor does not understand linux paths, e.g. notepad, Notepad2, Notepad++, etc.