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

Re: git -- how to revert build to as-originally-cloned?

From
PEPaul Ebermann <paul.ebermann@esperanto.de>
Date
May 20, 2011, 19:34 UTC
Message-ID
<4DD6C253.2040309@esperanto.de>
In-Reply-To
<4DD6BE8D.4080708@hotmail.com>
John Lumby schrieb:
Show 13 quoted lines
> On 05/20/11 12:25, George Spelvin wrote:
>> Er, no.  One "git merge" command produces (at most) one commit.
>> It may be that the head of the branch you merged in was already
>> a merge commit, but tha
>>
>> You may find "gitk" useful for for visualizing all of this.
> 
> I have tried gitk.    Can you or someone tell me what the colours of the
> nodes in the top left signifies?
> Specifically, a commit of mine (done since all the merging I've been 
> asking about) shows as yellow, whereas all the ones prior to that
> show as blue. (I have not altered or changed the colour scheme so 
> it's whatever the default is)

For the nodes: Yellow is the current HEAD. Red is your worktree, if differing from the index, green is the index, if differing from HEAD. Everything else (in blue) are other commits in the repository.

The color of the lines is not significant, I think (or at least I didn't recognize any regularity here).

(This is for my version of gitk, whichever this might be. I didn't find a way to find out. It says "(c) 2005-2010" in the "about" dialog and "(c) 2005-2009" in the start of the source code.

Paŭlo
Previous: John LumbyNext: George Spelvin
Message 3 of 5 in “RE: git -- how to revert build to as-originally-cloned?”
  1. George SpelvinMay 20, 2011
  2. John LumbyMay 20, 2011
  3. Paul EbermannMay 20, 2011
  4. George SpelvinMay 20, 2011
  5. George SpelvinMay 20, 2011

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.