patrick

Snapshot and mirror Git repositories

npm install patrick
24 downloads in the last week
48 downloads in the last month

patrick Build Status

Synchronize a Git repository from one place to another.

Usage

patrick = require 'patrick'

Generate a snapshot

patrick.snapshot '/repos/here', (error, snapshot) ->
  if error?
    console.error('snapshot failed', error)
  else
    console.log('snapshot succeeded')

Mirror a snapshot

patrick.mirror '/repos/there', snapshot, (error) ->
  if error?
    console.error('mirror failed', error)
  else
    console.log('mirror succeeded')
npm loves you