diff options
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/git.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc/git.md b/src/misc/git.md index d76ae77..a4af0cf 100644 --- a/src/misc/git.md +++ b/src/misc/git.md @@ -20,6 +20,7 @@ remote tracking branch git branch <bname> ............. create branch with name <bname> git checkout <bname> ........... switch to branch with name <bname> + git checkout --track <branch> .. start to locally track a remote branch git push -u origin <rbname> .... push branch to origin (or other remote), and setup <rbname> as tracking branch ``` |