Added a couple of common upstream commands to track and check status

This commit is contained in:
Thomas Stringer 2015-07-15 06:24:22 -04:00
parent 02d0ca47c9
commit bad3155f1f
1 changed files with 9 additions and 0 deletions

View File

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