git symbolic-ref

Read, change, or delete files that store references. More information: https://git-scm.com/docs/git-symbolic-ref.

git symbolic-ref refs/{{name}} {{ref}}

git symbolic-ref -m "{{message}}" refs/{{name}} refs/heads/{{branch_name}}

git symbolic-ref refs/{{name}}

git symbolic-ref --delete refs/{{name}}

git symbolic-ref --quiet --short refs/{{name}}