git-clone-idempotent
Like git clone, but pulls if the folder exists
npm install -g git-clone-idempotent
Useful for automated git clones/pulls
Usage
# run it once, it will clonegit-clone-idempotent git://github.com/mafintosh/git-clone-idempotent.git# run it again, it will pullgit-clone-idempotent git://github.com/mafintosh/git-clone-idempotent.git
License
MIT