Difference between revisions of "Git/branch"
< Git
Jump to navigation
Jump to search
(commands) |
m (proper sorting for categories) |
||
Line 1: | Line 1: | ||
− | [[category:git/concepts]] | + | [[category:git/concepts|branch]] |
− | [[category:git/commands]] | + | [[category:git/commands|branch]] |
A "branch" is a separate copy (of the files involved in a project) which can be worked on without affecting the original copy. | A "branch" is a separate copy (of the files involved in a project) which can be worked on without affecting the original copy. | ||
Revision as of 21:10, 9 March 2015
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 branchesgit branch -r
lists the remote branchesgit branch -a
lists both local and remote branches