Created
June 13, 2013 04:17
-
-
Save mhupman/5771198 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
# One-liner to check if repo directory exists. If so, attempt to enter and `git pull`. Otherwise, `git clone` | |
if [ -d citrrusbuilder ]; then cd citrrusbuilder && git pull && cd ..; else git clone [email protected]:citrrus/citrrusbuilder.git citrrusbuilder; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment