From d515b97f6aba2adcb44a0a86df49a7b94a53df6c Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 22 May 2020 17:15:51 +0200 Subject: git: add track remote branch --- src/misc/git.md | 1 + 1 file changed, 1 insertion(+) (limited to 'src/misc') 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 ............. create branch with name git checkout ........... switch to branch with name + git checkout --track .. start to locally track a remote branch git push -u origin .... push branch to origin (or other remote), and setup as tracking branch ``` -- cgit v1.2.3