I have develop & master branches, my develop branch is messy now and i would like to reset it and make it as a copy of my master. i'm not sure if merging the master into develop will make both of them identical. after trying to merge i got many conflicts i solved them using:
git checkout develop
git merge origin/master
//got many conflicts
git checkout . --theirs
is this enough for develop branch to be an identical copy to master ?
Thanks