Git/branch

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Revision as of 17:59, 9 March 2015 by Woozle (talk | contribs) (commands)
Jump to navigation Jump to search

A "branch" is a separate copy (of the files involved in a project) which can be worked on without affecting the original copy.

"Branching" is a concept basic to most version control systems.

Commands

To find out what branches are available:

  • git branch lists local branches
  • git branch -r lists the remote branches
  • git branch -a lists both local and remote branches

Links

Reference