git-clone-idempotent

Like git clone, but pulls if the folder exists

MIT License

Downloads
15
Stars
14
Committers
1

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 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

License

MIT