git update-ref

Git command for creating, updating, and deleting Git refs.
More information.
git update-ref -d {HEAD}
git update-ref -m {message} {HEAD} {4e95e05}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY