package
Snapshot and mirror Git repositories
npm install patrickGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 10 packages.
8.8 MB
Includes dependencies.
4 direct · 4 outdated
0.0.20
0.2.7
~0.2.9
3.2.6
~0.28.0
5.7.3
~1.5.1
1.13.8

Synchronize a Git repository from one place to another.

patrick = require 'patrick'patrick.snapshot '/repos/here', (error, snapshot) ->
if error?
console.error('snapshot failed', error)
else
console.log('snapshot succeeded')patrick.mirror '/repos/there', snapshot, (error) ->
if error?
console.error('mirror failed', error)
else
console.log('mirror succeeded')mcolyer
matt@colyer.name