Reputation: 571
In other words, is there a safe way to just move HEAD without doing anything else?
HEAD
Upvotes: 1
Views: 157
Reputation: 94642
git symbolic-ref HEAD refs/heads/master
See https://git-scm.com/docs/git-symbolic-ref
Upvotes: 2