Skip to content

Instantly share code, notes, and snippets.

@okalachev
Created August 16, 2012 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okalachev/3374004 to your computer and use it in GitHub Desktop.
Save okalachev/3374004 to your computer and use it in GitHub Desktop.
pull or clone a repository
$(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