Branche distante Git fetch

Mots clés : gitbranchgit-branchgit-fetchgit

meilleur 5 Réponses Branche distante Git fetch

vote vote

99

git switch daves_branch 
git checkout --track origin/daves_branch 
git checkout --track -b daves_branch origin/daves_branch 
git checkout daves_branch 
vote vote

90

git fetch <remote> <rbranch>:<lbranch> git checkout <lbranch> 
vote vote

80

git fetch origin git checkout --track origin/<remote_branch_name> 
vote vote

68

git fetch --all git checkout myBranch 
Branch myBranch set up to track remote branch myBranch from origin Switched to a new branch 'myBranch' 
vote vote

50

git fetch origin <branchName> # Will fetch the branch locally git checkout <branchName> # To move to that branch 

Questions similaires