1
0
mirror of https://github.com/namibia/tips.git synced 2024-06-01 18:01:19 +00:00

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

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