Forrest logo
back to context overview

git-update-ref

List of commands for git-update-ref:

  • git-update-ref:tldr:2f20a git-update-ref: Delete a ref, useful for soft resetting the first commit.
    $ git update-ref -d ${HEAD}
    try on your machine
    explain this command
  • git-update-ref:tldr:e1073 git-update-ref: Update ref with a message.
    $ git update-ref -m ${message} ${HEAD} ${4e95e05}
    try on your machine
    explain this command
back to context overview