Created
December 17, 2011 19:14
-
-
Save cvan/1491093 to your computer and use it in GitHub Desktop.
zamboni aliases
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
~/.aliasrc | |
# Django | |
alias z='cd ~/Sites/projects/zamboni2 && workon z' | |
alias zpull='z && git checkout master && git pull && git submodule sync && git submodule update --init --recursive' | |
alias zup='zpull && ./vendor/src/schematic/schematic migrations' | |
alias check5="git whatchanged $1 -1 | awk '/^:/ {print $NF}' | xargs /vendor/src/check/check.py" | |
# Testing | |
alias testme='manage.py test --noinput -s --logging-clear-handlers' | |
alias testme='manage.py test --noinput -s --logging-clear-handlers -a\!sphinx --verbosity=2' | |
alias tm='testme --settings=settings_local_mkt' | |
alias ta='testme' | |
~/.gitconfig | |
[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