mirror of https://github.com/CrimsonTome/tldr.git
Merge pull request #424 from eliotsykes/patch-1
git branch -a lists all brancheswaldyrious/alt-syntax
commit
5953be8e03
|
@ -2,10 +2,14 @@
|
|||
|
||||
> Main command for working with branches
|
||||
|
||||
- List all existing branches
|
||||
- List local branches. The current branch is highlighted by `*`.
|
||||
|
||||
`git branch`
|
||||
|
||||
- List all local and remote branches
|
||||
|
||||
`git branch -a`
|
||||
|
||||
- Create new branch based on current branch
|
||||
|
||||
`git branch {{BRANCH-NAME}}`
|
||||
|
|
Loading…
Reference in New Issue