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 branchlists local branchesgit branch -rlists the remote branchesgit branch -alists both local and remote branches