From bad3155f1fc6dc533e0d13f089a92d3cdfc0fc2a Mon Sep 17 00:00:00 2001 From: Thomas Stringer Date: Wed, 15 Jul 2015 06:24:22 -0400 Subject: [PATCH] Added a couple of common upstream commands to track and check status --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0998ff6..42d1a30 100644 --- a/README.md +++ b/README.md @@ -36,5 +36,14 @@ git branch --merged git checkout - ``` +# List all branches and their upstreams, as well as last commit on branch +```sh +git branch -vv +``` +# Track upstream branch + +```sh +git branch -u origin/mybranch +``` \ No newline at end of file