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

0 votes
5,959 views
added Mar 31, 2021 in Git by lcjr First Warrant Officer (11,930 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.
...