CmdID

CmdID / Commands

git-symbolic-ref

Read, change, or delete files that store references. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Store a reference by a name

git symbolic-ref refs/name refIdentify

Store a reference by name, including a message with a reason for the update

git symbolic-ref -m "message" refs/name refs/heads/branch_nameIdentify

Read a reference by name

git symbolic-ref refs/nameIdentify

Delete a reference by name

git symbolic-ref --delete refs/nameIdentify

For scripting, hide errors with --quiet and use --short to simplify ("refs/heads/X" prints as "X")

git symbolic-ref --quiet --short refs/nameIdentify