From 1c82ae15f60248fa430b0c64e91b4f7dda52cce2 Mon Sep 17 00:00:00 2001 From: Eliot Sykes Date: Mon, 28 Dec 2015 18:00:06 +0000 Subject: [PATCH] git branch -a lists all branches --- pages/common/git-branch.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/common/git-branch.md b/pages/common/git-branch.md index f44573bb5a..14f9b07d0b 100644 --- a/pages/common/git-branch.md +++ b/pages/common/git-branch.md @@ -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}}`