Nix Nix
tldr-pages web client with multiple languages
Nix Nix
Search
On This Page

git update-ref

Git command for creating, updating, and deleting Git refs. More information: https://git-scm.com/docs/git-update-ref.

  • Delete a ref, useful for soft resetting the first commit:

git update-ref -d HEAD

  • Update ref with a message:

git update-ref -m message HEAD 4e95e05

Related Topics
français version italiano version Türkçe version
Contribute to This Page
Report New Issue View Source
Discuss this page