Git branch: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:
[[#Overview|git branch]] is used to perform branch-related operations: listing existing branches, creating new local and remote branches, renaming branches and deleting branches.
[[#Overview|git branch]] is used to perform branch-related operations: listing existing branches, creating new local and remote branches, renaming branches and deleting branches.


Checking out the content of a branch is performed with [[git checkout]].
Use [[git checkout]] to check out the content of a branch in the local work area.


For a description of the concepts behind Git branches, see: {{Internal|Git_Concepts#Branch|Git Concepts - Branches}}
For a description of the concepts behind Git branches, see: {{Internal|Git_Concepts#Branch|Git Concepts - Branches}}

Revision as of 20:21, 19 March 2018

Internal

Overview

git branch is used to perform branch-related operations: listing existing branches, creating new local and remote branches, renaming branches and deleting branches.

Use git checkout to check out the content of a branch in the local work area.

For a description of the concepts behind Git branches, see:

Git Concepts - Branches