I have master
and a branch off of master called develop
. I made a lot of changes in develop
branch such that there are a lot of conflicts with master
. I would like to force merge develop
into master
so that develop
becomes master
.
Whats the best way to do this in git?
I tried:
$git checkout branch
$get push origin master -f
but that doesn't seem to work.