GitHub and patches awesomeness

GitHub and patches awesomeness

GitHub has a lot of neat features but this has to be my new favourite one.

If you're looking at a pull request, example at you can quickly view the diff by going to

If you want to download the patch you can simply go to as well

These links will show the diff and patch for the pull request in it's current state so if another commit is pushed the diff and patch will include them

If you want to download and apply the patch to a local copy of the repository then it's the command line to the rescue once again

curl -L | git apply -v

Share Tweet Send
You've successfully subscribed to
Great! Next, complete checkout for full access to
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.