Daily Archives: May 19, 2017

Open a terminal and, under your git directory, create a new temporary branch (e.g. temp): git branch temp Switch on the new branch typing: git checkout temp Point the master to the new branch (force it with option -f): git branch -f master temp Switch back on the master and […]

Fix a detached head on Git