aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/git.html
diff options
context:
space:
mode:
Diffstat (limited to 'misc/git.html')
-rw-r--r--misc/git.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/git.html b/misc/git.html
index 3a91b0f..d44c072 100644
--- a/misc/git.html
+++ b/misc/git.html
@@ -164,6 +164,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
</code></pre>