git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: add comments to reflog?

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
May 13, 2009, 12:08 UTC
Message-ID
<4A0AB828.5090205@drmicha.warpmail.net>
In-Reply-To
<20090513103554.GC31593@redhat.com>
Michael S. Tsirkin venit, vidit, dixit 13.05.2009 12:35:
Show 17 quoted 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
> 
> 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

Previous: Michael S. Tsirkin
Message 2 of 2 in “add comments to reflog?”
  1. Michael S. TsirkinMay 13, 2009
  2. Michael J GruberMay 13, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.