Re: "git add -u" broken in git 1.7.4?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 7, 2011, 19:31 UTC
- Message-ID
- <7vaai7vdys.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110207183412.GB1900@neumann>
SZEDER Gábor <szeder@ira.uka.de> writes:
Show 9 quoted lines
> _Everything_ relative to the current working directory? I can't > imagine how would that work in practice. Could you explain what would > the following commands do, for example, when they are relative to the > current working directory? > > $ cd t > $ git checkout next > $ git merge somebranch > $ git reset HEAD^
Perhaps I stated things badly. I was only talking about commands that take pathspecs, and none of the above are relevant to this thread. You don't check out a branch with pathspec, nor merge another branch, nor reset the index and the HEAD pointer.
I wouldn't point out that "git checkout next -- this-file" is to check out a file out of a commit, not to check out a branch, as I think you already know that.