Git: set master identical to develop -
i cannot master , develop branches identical. want master branch develop branch exists, somehow despite file name changes , deletion of directories in develop, filenames , directories still exist in master no matter merge, tells me date i'm stuck how master change without doing manually, sure error prone.
what can here git reset
master branch points @ same location develop branch. note loose on master not in develop.
git checkout master git reset --hard <sha1 of develop>
after that, master , develop both point same commit.
Comments
Post a Comment