Forrest logo
back to context overview

git-check-ref-format

List of commands for git-check-ref-format:

  • git-check-ref-format:tldr:1f89a git-check-ref-format: Print the name of the last branch checked out.
    $ git check-ref-format --branch @{-1}
    try on your machine
    explain this command
  • git-check-ref-format:tldr:2db10 git-check-ref-format: Check the format of the specified refname.
    $ git check-ref-format ${refs-head-refname}
    try on your machine
    explain this command
  • git-check-ref-format:tldr:9308a git-check-ref-format: Normalize a refname.
    $ git check-ref-format --normalize ${refs-head-refname}
    try on your machine
    explain this command
back to context overview