Merge pull request #424 from eliotsykes/patch-1
git branch -a lists all branches
This commit is contained in:
@@ -2,10 +2,14 @@
|
|||||||
|
|
||||||
> Main command for working with branches
|
> Main command for working with branches
|
||||||
|
|
||||||
- List all existing branches
|
- List local branches. The current branch is highlighted by `*`.
|
||||||
|
|
||||||
`git branch`
|
`git branch`
|
||||||
|
|
||||||
|
- List all local and remote branches
|
||||||
|
|
||||||
|
`git branch -a`
|
||||||
|
|
||||||
- Create new branch based on current branch
|
- Create new branch based on current branch
|
||||||
|
|
||||||
`git branch {{BRANCH-NAME}}`
|
`git branch {{BRANCH-NAME}}`
|
||||||
|
Reference in New Issue
Block a user