There is a test branch on the project. You can’t see the remote branch by using Git Branch-A. You can directly use the command Git Checkout Test to report the error as follows:
error: pathspec 'origin/test' did not match any file(s) known to git.
Solution:
1. Execute git fetch to fetch updates of all branches
2. You can see the Test branch when executing Git Branch-A (the branch information has been updated).
3. Switch git Checkout Test
Read More:
- error: pathspec ‘feature_card‘ did not match any file(s) known to git
- pathspec ‘master’ did not match any files known to git
- pathspec commit did not match any files known to git
- git error: src refspec dev does not match any
- [Git] git pull pull remote git push to remote git commit submit reject
- Git error prompt: fatal: not a git repository (or any of the parent directories):. Git
- Git solves pull origin error: the following untracked working tree files would be rewritten by merge
- error: src refspec master does not match any error:failed to push some refs to ‘[email protected]:xxxx
- Error: SRC refspec master does not match any. error: failed to push some refs to
- Git commit encountered error: pathspec (Fixed)
- Git did not exit cleanly (exit code 128)
- How to Fix GIT Push Error
- Python error prompt unindent does not match any outer indentation level
- Error report after solving git push origin master
- Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://xxx.cn’) does n
- error: src refspec master does not match anyerror: failed to push some refs to
- C + + error prototype for… Does not match any in class
- MySQL uses net start MySQL startup prompt (failed to start, the service did not report any error)
- Solve the error error fetching remote repo origin problem in Git on Jenkins
- Failed to restart xxx.service: The name org.freedesktop.PolicyKit1 was not provided by any..