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