Skip to content

Instantly share code, notes, and snippets.

@beli-sk
beli-sk / plumbing.md
Last active February 16, 2024 04:07 — forked from schacon/plumbing.md
git plumbing cheat sheet

the plumbing commands

refs

  • update-ref

    • update a branch (or other reference) to point to a specific commit sha
  • symbolic-ref

    • update a reference (usually HEAD) to point to another reference (like a branch)