Wednesday, February 11, 2015

GIT Reconcile Detached HEAD with Master/origin

git branch temp
git checkout temp
git branch -f master temp
git checkout master
git branch -d temp
git push -f origin master

1 comment: