Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
porcelain and plumbing examples of git commands.
# PORCELAIN
# set an upstream tracking branch.
git push -u origin development
# get an external URL and make a copy of it on your machine
git clone git@github.com:Skookum/mason.git
# PLUMBING
# parse git expression into a commit hash
git rev-parse HEAD~4
# view contents of a hash
git cat-file -p {hash}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.