DEV Community

Discussion on: What do you Google EVERY. SINGLE. TIME. and never just memorize?

Collapse
 
sea_salt_toffee_coffee profile image
Jonathan Solis • Edited

How to git checkout a remote branch. I’m gonna try it it without googling

git remote add repoFork <url>
git fetch repoFork
git checkout —track repoFork/branch

I hope that’s right I just looked it up again yesterday