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