Kurinchi Blogger Scribbles …


Archive for February 15th, 2017

Feb 15
2017

Git: How to reset Develop branch to be in sync with Master branch?

Last updated: February 15th, 2017

First checkout Develop branch

$ git checkout dev

Then, reset it to Master branch
$ git reset –hard master

Make sure to push the changes by force to make origin/dev to be the same as origin/master
$ git push –force origin develop


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict