Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
porcelain and plumbing examples of git commands.
# 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
# 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