Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
how to reset local master to origin master
Gary Raven
Programming language:
Whatever
2021-06-30 09:45:58
0
Q:
how to reset local master to origin master
Jaafar Jumaa
Code:
Whatever
2021-07-18 13:18:22
git checkout -B master origin/master //for branch git checkout -B <branch> origin/<branch>
0
Tags
master
set
how
Related
how to move master changes to branch
my local branch always ahead origin
error: couldn't set 'refs/remotes/origin/master'
push local branch changes to remote branch
i get your branch is ahead of master after I pulled from remote master
New to Communities?
Join the community