Skip to content

Instantly share code, notes, and snippets.

View tonka3000's full-sized avatar
🤖

Michael tonka3000

🤖
View GitHub Profile
@tonka3000
tonka3000 / Git checkout remote branch
Created August 5, 2016 08:27 — forked from markSci5/Git checkout remote branch
Git checkout remote branch
//To fetch a branch, you simply need to:
git fetch origin
//This will fetch all of the remote branches for you. With the remote branches
//in hand, you now need to check out the branch you are interested in, giving
//you a local working copy:
git checkout -b test origin/test