Created
May 15, 2012 22:31
-
-
Save cvan/2705637 to your computer and use it in GitHub Desktop.
best workflow
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
# Django | |
z='cd ~/Sites/projects/zamboni2 && workon z' | |
zpull="z && git checkout master && git pull && git submodule update && git submodule --quiet foreach 'git submodule --quiet sync && git submodule update --init --recursive'" | |
zup='zpull && ./vendor/src/schematic/schematic migrations' |
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
[alias] | |
get = "!f() { echo Merging $1 && git checkout master && git pull && git submodule sync && git submodule update --recursive && git checkout $1 && git rebase master && git checkout master && git merge $1; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is mine that I use regularly