Git error - fatal: 'origin/[YOUR_BRANCH]' is not a commit and a branch '[YOUR_BRANCH]' cannot be created from it

0 votes
6,158 views
added Mar 31, 2021 in Git by lcjr Lieutenant (12,010 points)

You need to fetch all the origin branches from remote in order to checkout, Simply run the following command;

 git fetch --all
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...