SZEDER GÃbor <szeder@xxxxxxxxxx> writes: > _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. -- 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