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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -