]> rtime.felk.cvut.cz Git - hubacji1/oneflow.git/commitdiff
Extend explore branches section
authorJiri Hubacek <hubacji1@fel.cvut.cz>
Fri, 12 Oct 2018 10:50:12 +0000 (12:50 +0200)
committerJiri Hubacek <hubacji1@fel.cvut.cz>
Fri, 12 Oct 2018 10:50:12 +0000 (12:50 +0200)
branching.md

index d245359175e7bc6da68414ae48b53b3f5d64ed19..b497fb4e4f2a05844bdb7d2e23bb2222205a984f 100644 (file)
@@ -7,9 +7,9 @@ that are realated the concept of branches was introduced.
 Branch is just alternative history that can be merged one day back to the main
 history. The main history branch is named `master` by default.
 
-# Explore - show branches
+# Explore branches
 `git branch` command show all the local branches and the active branch you are
-currently on.
+currently on. Show remote branches by `git branch --all` command.
 
 # Split - create alternative branch
 When decided to create new branch `git checkout -b NAME` can be used. Switching
@@ -29,6 +29,7 @@ COMMIT` takes current branch and put it on top of the `COMMIT`.
 # Cheat sheet
 ## Explore
 - `git branch`
+- `git branch --all`
 
 ## Split
 - `git checkout -b NAME`