add comments to reflog?
I noticed that I am often doing this
hack commit hack commit hack commit ...
git tag -s works -m "works on xyz, must rewrite abc" git reset --hard HEAD~1
hack ...
I only tag just in case I want to revisit the design. However, after I reset, I often forget how did I name the tag. It would be nice if reflog would show tag descriptions, which it does not seem to.
Comments?
Signature · 1 line
MST
Michael S. Tsirkin venit, vidit, dixit 13.05.2009 12:35:
Quoted 7 lines
I noticed that I am often doing this
hack commit hack commit hack commit ...
git tag -s works -m "works on xyz, must rewrite abc" git reset --hard HEAD~1
Quoted 10 lines
hack ...
I only tag just in case I want to revisit the design. However, after I reset, I often forget how did I name the tag. It would be nice if reflog would show tag descriptions, which it does not seem to.
Comments?
I'm not sure about your exact requirements, but maybe
git log --tags --simplify-by-decoration
does something useful for you. Also remember gitk etc. which takes the same arguments for commit selection (those of git-rev-list). I always forget about the power of git-rev-list options when used with log and gitk. Thanks for reminding me :)
Cheers,
Michael