💾 Archived View for freeshell.de › tldr › git-check-ref-format.gmi captured on 2023-12-28 at 16:20:56. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Checks if a given refname is acceptable, and exits with a non-zero status if it is not.
git check-ref-format {refs/head/refname}
git check-ref-format --branch @{-1}
git check-ref-format --normalize {refs/head/refname}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).