Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:47

Johannes Schindelin [off-list ref] writes:
On Thu, 28 Dec 2006, Junio C Hamano wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help