From 78ecd047f07df42673eb63436fe4508d1c3b22cd Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 22 May 2020 15:16:47 +0000 Subject: deploy: d515b97f6aba2adcb44a0a86df49a7b94a53df6c --- misc/git.html | 1 + 1 file changed, 1 insertion(+) (limited to 'misc') 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 -- cgit v1.2.3