Badass git pull alternative
Add this little snippet to your
~/.gitconfig and it amps up your
git pull by means of
- Adds in a list of the commits you're pulling down
- Auto-prunes remote branches
- 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.