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

Re: Global reflog?

From
Sskillzero@gmail.com <skillzero@gmail.com>
Date
Feb 14, 2010, 22:14 UTC
Message-ID
<2729632a1002141414l4c4ccd82j32693e6e3bd02bc5@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.00.1002141655450.1946@xanadu.home>
On Sun, Feb 14, 2010 at 1:56 PM, Nicolas Pitre <nico@fluxnic.net> wrote:
Show 10 quoted lines
> On Sun, 14 Feb 2010, skillzero@gmail.com wrote:
>
>> Is there a way to have git maintain a single reflog across all
>> branches (and stashes)? I switch between branches, create and delete
>> branches, stash save and pop, etc. frequently and it would be great
>> for me if there was a way to have a global reflog that showed every
>> operation, independent of a particular branch. Is there some way to
>> enable this?
>
> You have it already.  It is the "HEAD" reflog.

I don't seem to see any stash activity. For example, I made a test change, did git stash, and then git stash pop. When I do git reflog, I don't see the stash commit or the delete of the stash. Is there a way to enable that?

Previous: Nicolas PitreNext: Nicolas Pitre
Message 3 of 4 in “Global reflog?”
  1. skillzero@gmail.comFeb 14, 2010
  2. Nicolas PitreFeb 14, 2010
  3. skillzero@gmail.comFeb 14, 2010
  4. Nicolas PitreFeb 15, 2010

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.