Joined September 2012
·
Achievements
49 Karma
0 Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Honey Badger
Have at least one original Node.js-specific repo
Raven
Have at least one original repo where some form of shell script is the dominant language
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
I think this error typically happens when there's either no matching
branch_name
in your locally fetched repos, OR there's multiple clones of the branch, sogit
doesn't know which you're trying to checkout on the initial branch creation.So a slight mod to the tip is:
git checkout -t -b develop origin/develop
The
origin/develop
is the starting point for the newly created branch, so you could do any such examples:git checkout -t -b develop another_repo/develop