Joined September 2012
·

Sam Tsai

American Eagle Outfitters
·
Pittsburgh, PA
·
·

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, so git 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

Achievements
49 Karma
0 Total ProTip Views
Interests & Skills