Horje
git track remote branch Code Example
create local branch to track remote
git checkout --track origin/some_remote_branch
git bash upstream branch change
git branch --set-upstream-to=origin/branch
git get remote branches
git branch -r
pull down remote branch git
git fetch origin

git checkout --track origin/<branch_name>
git track remote branch
# Set upstream when pushing to remote
git push -u origin topic

# Set upstream without pushing it
# with option -u / --set-upstream-to
git branch -u origin/topic
git branch --set-upstream-to=origin/topic
git track remote branch
$ git checkout --track origin/dev
Branch dev set up to track remote branch dev from origin.
Switched to a new branch 'dev'




Shell

Related
jest command coverage Code Example jest command coverage Code Example
grant current user access to /dev/kvm Code Example grant current user access to /dev/kvm Code Example
raspberry wifi scan Code Example raspberry wifi scan Code Example
timestamp zsh terminal Code Example timestamp zsh terminal Code Example
Enable WSL on windows Code Example Enable WSL on windows Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10