Git, How to make my master mirror my develop branch? -
after messing git branches lot, ended stable develop branch , unstable master. merged stable commit of develop branch master. still master unstable. how make master replicate/mirror develop branch?
if want master branch match develop branch, , you're okay losing work in master may not in develop branch, can hard reset on master:
# master branch checked out $ git reset --hard develop you can read more reset command @ official linux kernel git documentation.
Comments
Post a Comment