Moving a git branch pointer to an earlier commit Mar 22, 2013 The answer here: git update-ref refs/heads/<my-branc> <new-commit>