Created
October 24, 2011 04:39
-
-
Save nickhammond/1308382 to your computer and use it in GitHub Desktop.
Clone a git repository, cd into and run bundle install
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
function clinstall(){ | |
echo "Cloning repository, cd'ing into it and running bundle install..." | |
filename=$(basename $1) | |
filename=${filename%.*} | |
git clone $1 && cd "$filename" && bundle install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment