Created
August 26, 2014 20:51
-
-
Save artursapek/4575fc96fb752ee2c9bb to your computer and use it in GitHub Desktop.
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
function gbr { | |
echo `git name-rev --name-only HEAD` | |
} | |
# when on master: | |
# > gbr | |
# master | |
function dp { | |
bundle exec cap -s revision=`gbr` $1 deploy | |
} | |
# deploys current branch to panda: | |
# > dp panda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment