DEV Community

Discussion on: Spooktober: Git Horror Story

Collapse
 
droidmonkey profile image
Jonathan White • Edited

Or simply do: git checkout -b develop origin/develop

The problem you encountered is that clone does not create local tracking branches automatically. See the first line in the clone documentation (always should be your first stop when troubleshooting Git): git-scm.com/docs/git-clone#_descri...

Collapse
 
pabiforbes profile image
Pabi Moloi, but Forbes

Hey Jonathan,
Thank you for sharing that link and taking the time to read.
:)