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

Question about chapter "3.1 Git Branching - Branches in a Nutshell" in git docu

From
AMAxel Magard <axel_magard@de.ibm.com>
Date
Nov 14, 2014, 14:39 UTC
Message-ID
<OF6CCD47D8.ABB2F49C-ONC1257D90.004E1845-C1257D90.005084C1@de.ibm.com>

Hi folks, either I still didn't grasp it or there is a mistake in chapter 3.1 "3.1 Git Branching - Branches in a Nutshell" (http://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell)

The last figure on that page shows that branch 'master' and HEAD are 
pointing to patch 87ab2, branch 'testing' to c2b9e.
 
But the output from git log --oneline --decorate --graph --all 
shows this:
* c2b9e (HEAD, master) made other changes
| * 87ab2 (testing) made a change
|/
* f30ab add feature #32 - ability to add new formats to the
* 34ac2 fixed bug #1328 - stack overflow under certain conditions
* 98ca9 initial commit of my project
Shouldn't it look like this ?
* 87ab2 (HEAD, master) made a change
| * c2b9e (testing) made other changes
|/
* f30ab add feature #32 - ability to add new formats to the
* 34ac2 fixed bug #1328 - stack overflow under certain conditions
* 98ca9 initial commit of my project
Cheers ... Axel Magard 
Next: Jeff King
Message 1 of 2 in “Question about chapter "3.1 Git Branching - Branches in a Nutshell" in git docu”
  1. Axel MagardNov 14, 2014
  2. Jeff KingNov 14, 2014

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.