KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
My problem is related to Fatal Git error when switching branch . I try to fetch a remote branch with the command git checkout -b local-name origin/remote-name but I get this error message: fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'origin/remote-name' which can not be resolved as commit? If I manually create a branch and then pull the remote branch, it works, just as making a new clone and checking the branch out. Why does it not work on the repository I work with?
Tags (comma-separated)
Save Edits
Cancel