Kurinchi Blogger Scribbles …

Posts Tagged ‘origin’

Feb 15

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