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