Posted over 10 years ago. Visible to the public.

Check out a remote branch in git

If you would like to checkout the branch groups, you can simply say this in recent versions of Git:

Copy
git fetch origin git checkout groups

This will automatically track origin/groups from a local branch groups.

In older Git versions you need to say this:

Copy
git fetch origin git checkout --track origin/groups
Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Owner of this card:

Avatar
Lexy
Last edit:
almost 10 years ago
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Lexy to makandra dev
This website uses short-lived cookies to improve usability.
Accept or learn more