1
0
Fork 0
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:
Waldir Pimenta 2015-12-29 14:02:35 +00:00
commit 5953be8e03

View file

@ -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}}`