Created
August 16, 2012 22:02
-
-
Save okalachev/3374004 to your computer and use it in GitHub Desktop.
pull or clone a repository
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
$(REPO_NAME)/: | |
test -d $(REPO_NAME) && (cd $(REPO_NAME); git pull) || git clone $(REPO_URL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment