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>
4.14
7
git fetch --prune origin
git reset --hard origin/master
git clean -f -d
Thank you!
7
0
4.5
2
git fetch --prune origin
git reset --hard origin/master
git clean -f -d
Thank you!
2
0
Are there any code examples left?
New code examples in category Shell/Bash