This may be an edge case which has been discussed, but I did not find any topics relating to this. If file 1 exists on branch B but not on branch A, I am seeing this behavior: git checkout A git checkout A -- 1 error: pathspec '1' did not match any file(s) known to git. git checkout B git checkout A -- 1 No complaints after running the last line the second time around. The file exists in the directory tree, and it is the version that exists in branch B. How come the second time, git does not throw an error message and just silently does nothing? I'm using GIT version 1.7.4.1 Thanks, -Senthil
-- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/GOBlhTU5-cwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
