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

Re: [PATCH 0/11] Misc. pull/merge/am improvements

From
Junio C Hamano <junkio@cox.net>
Date
Dec 29, 2006, 17:53 UTC
Message-ID
<7vtzzeoafc.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0612291845070.19693@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 6 quoted lines
> On Thu, 28 Dec 2006, Junio C Hamano wrote:
>
>> Although I do find the detached HEAD attractive [...]
>
> You do mean "git fetch --depth 0", don't you? (Totally untested, of 
> course.)
No, what I meant was
	$ git checkout v1.5.0
	Checking out a tag -- you are not on any branch now...
        $ ls -l .git/HEAD
        -rw-rw-r-- 1 junio junio 41 2006-12-29 09:51 .git/HEAD
	$ git branch
          master
        $ git commit -m 'fix' -a; echo $?
        You cannot commit without the current branch.
        0
        $ git checkout -b maint-1.5.0
        $ git commit -m 'fix' -a
Previous: Johannes Schindelin
Message 10 of 10 in “Misc. pull/merge/am improvements”
  1. 0/11 Misc. pull/merge/am improvementsShawn Pearce, Dec 28, 2006
  2. Junio C HamanoDec 28, 2006
  3. Shawn PearceDec 28, 2006
  4. Junio C HamanoDec 28, 2006
  5. Shawn PearceDec 29, 2006
  6. Junio C HamanoDec 29, 2006
  7. Shawn PearceDec 31, 2006
  8. Junio C HamanoDec 30, 2006
  9. Johannes SchindelinDec 29, 2006
  10. Junio C HamanoDec 29, 2006

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.