Answers for "git sync local branch with remote"

2

git sync local branch with remote

git fetch --prune origin
git reset --hard origin/master
git clean -f -d
Posted by: Guest on March-25-2021
1

How do I sync local and remote branches?

maybe you're lokking for
git pull origin master
or
git pull origin main
or 
git pull origin <branchname>
Posted by: Guest on June-23-2021

Code answers related to "git sync local branch with remote"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language