mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Merge pull request #424 from eliotsykes/patch-1
git branch -a lists all branches
This commit is contained in:
commit
5953be8e03
1 changed files with 5 additions and 1 deletions
|
@ -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}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue