Created
April 26, 2012 17:40
-
-
Save Sanne/2501217 to your computer and use it in GitHub Desktop.
See differences between current branch and master [other branch]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Released under the WTFPL license version 2 http://sam.zoy.org/wtfpl/ | |
# Copyright (c) 2012 Sanne Grinovero | |
if [[ $# -eq 0 ]]; then | |
rm -f *.patch && git format-patch -M80% -C80% master && gedit -w -s *.patch && rm *.patch | |
else | |
rm -f *.patch && git format-patch -M80% -C80% "$@" && gedit -w -s *.patch && rm *.patch | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment