Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am pnyheim on github.
  • I am pnyheim (https://keybase.io/pnyheim) on keybase.
  • I have a public key whose fingerprint is F7DB F55A 6AA6 A647 9A29 C7E2 C78B 002E D665 AFFF

To claim this, I am signing this object:

@pnyheim
pnyheim / ._what.md
Last active September 28, 2015 01:38 — forked from kneath/._what.md
Badass git pull alias (up) to show commit log that just got pulled in addition to changes

Badass git pull alternative

Add this little snippet to your ~/.gitconfig and it amps up your git pull by means of git up

  1. Adds in a list of the commits you're pulling down
  2. Auto-prunes remote branches
  3. Defaults to pull --rebase - gets rid of unnecessary merge commits. If you don't know what rebase does, this is probably safe for you. If you know what rebase does, you should know where this will not be safe for you.

Scott Chacon and Ryan Tomayko basically figured out how to do this and I am stealing all of the credit.