fab.steps.grab.git module

fab.steps.grab.git.current_commit(folder=None)
fab.steps.grab.git.tool_available()

Is the command line git tool available?

Return type:

bool

fab.steps.grab.git.is_working_copy(dst)

Is the given path is a working copy?

Return type:

bool

fab.steps.grab.git.fetch(src, revision, dst)
fab.steps.grab.git.git_checkout(config, src, dst_label='', revision=None)

Checkout or update a Git repo.

fab.steps.grab.git.git_merge(config, src, dst_label='', revision=None)

Merge a git repo into a local working copy.