Answers for "git pull al branches"

2

git pull all branches

# use bash to be safe!
git fetch --all
git branch -r | grep -v '->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git pull --all
Posted by: Guest on September-24-2021
0

Git pull on branch

$ git checkout my_feature   # Just making sure you're currently on the right branch!  
$ git pull origin my_feature   # Pulling what your coworkers have done so far.
Posted by: Guest on August-20-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language