Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html