Move current reference of branch on Git

To force a git branch to point to a specific commit use the next command: git branch -f <branch-name> <commit-hash>

Leave a Reply