I ran into this problem while trying to check out a branch on one of my If you're still in trouble, this may help: triactolplus.com questions // git - cannot - checkout - branch - error - pathspec - did - not - match - any - files -kn. Anybody can ask a question ; Anybody can answer; The best “ did not match any files (s) known to git ” to git. error: pathspec 'version'' did not match any file (s) known to git. Any ideas what the problem could be? What does this error mean? . Get git -repository commit into different git -repository branch. error: pathspec 'master' did not match any file (s) known to git. Should't " git branch -l" show something already. Running command: git checkout -f master one cannot run svn2git using triactolplus.com, but instead need to run it using . Frequently Asked Questions · Bugs and Feature Requests · Fees.
Git - Error: pathspec 'develop' did not match any file (s) known to git. error · git. Ever get this message when you are certain that the branch you are trying to pull exists? Even after you do a git checkout -t -b develop origin/develop. This will. error: pathspec did not match any file (s) known to git branch exists on the remote you will be able to check out that branch without any errors. As genisage noted in a comment, you're asking git explicitly to check out the file As in question, if I want to discard changes in working directory I run That's your problem, you can't check out an untracked file from the index. So why git returns information about file that is not on my current branch?.
error: pathspec 'commit'' did not match any file(s) known to git.