Last active
September 14, 2015 10:00
-
-
Save miigotu/6a86c6543f7e08c8522f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[user] | |
email = [email protected] | |
name = Dustyn Gibson | |
[core] | |
pager = less -+F -+X -q | |
[status] | |
short = true | |
branch = true | |
[alias] | |
newsr = "!f() { git fetch upstream && git checkout -b $1 upstream/develop; }; f" | |
syncsr = "!f() { CURBRANCH=`git rev-parse --abbrev-ref HEAD` && echo 'Fetching upstream...' && git fetch upstream && echo 'Syncing develop...' && git checkout -q develop && git reset --hard upstream/develop && echo 'Syncing master...' && git checkout -q master && git reset --hard upstream/master && git push origin -f && git checkout -q $CURBRANCH && echo 'On branch' $CURBRANCH; }; f" | |
[push] | |
default = matching |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment