Possible Duplicate:
Start a git commit message with a hashmark (#)
I have something to do with my latest commit as I have to give a hashmark as the starting line for all my commit message
for example :
- #fix email : send something useful
- #dev html-email : create cross platform layout
but accidentally I forgot the hashmark, I wrote
- fix html-email : fix layout for outlook
(notice the missing hashmark)
and I did
- git reset --soft HEAD^
- git commit -c ORIG_HEAD
but everytime I put hashmark on the firstline, the vim will ignore it.
- I've tried using '\' , but the backslash character was printed in the commit message.
- I also tried using 'space' , and the whitespace appear before the first character of my commit message.
Q : how do I put hashmark (#) as the starting line in my commit message using vim, so it wont be ignored ?
note :
I'm using git-bash for windows.