Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
revert to master origin branch git
Abyrwalg Naumov
Programming language:
Shell/Bash
2021-07-20 05:28:55
0
Q:
revert to master origin branch git
Shawn
Code:
Shell/Bash
2021-01-24 14:58:57
git checkout mybranch git reset --hard origin/mybranch
1
Tags
git
master
branch
branch git
Related
merge branch to master
git merge master into branch
git merge origin/master into branch
git pull master into branch
git new branch push to remote
git sync branch with master
how to merge git branch to master
undo git pull origin master into feature branch
git push origin master --force
git revert file to master
git push to branch
how to git pull origin master
git merge branch to master
git reset to origin/master
git sync branch from master
New to Communities?
Join the community