Git checkout

From NovaOrdis Knowledge Base
Revision as of 17:11, 18 December 2017 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

Check Out the HEAD of a Branch

git checkout <branch-name>

Checkout a Tag into a Detached HEAD

The following command checks out a specific tag into a detached HEAD branch.

git checkout RESTEASY_JAXRS_2_3_2_FINAL

To reposition the local repository on the head of the master branch:

git checkout master