From de76050ad2d697f0b976df2bff09d4f9f2a56f18 Mon Sep 17 00:00:00 2001 From: Bastian Date: Thu, 9 Jan 2020 13:12:45 +0100 Subject: [PATCH] Added branching info --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 0e705b8..f2e5202 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,22 @@ unstage by using use "git reset HEAD ..." to unstage ``` +Creating a new branch +```shell +git branch +git checkout -b +``` + +Going to different branch +```shell +git checkout +``` + +Seeing available branches +```shell +git branch -a +``` + Track remote branch ```shell git checkout --track origin/