controller.utilities.git

Functions

can_be_updated(path, gitobj[, do_print])

check_file_younger_than(gitobj, filename, ...)

check_unstaged(path, gitobj)

check_updates(path, gitobj)

clone(url, path, branch[, do, check])

compare_repository(gitobj, branch, online_url)

fetch(path, gitobj)

get_active_branch(gitobj)

get_last_commit(gitobj)

get_origin(gitobj)

get_repo(path)

get_unstaged_files(gitobj)

ref: http://gitpython.readthedocs.io/en/stable/tutorial.html#obtaining-diff-information

init(path)

print_diff(gitobj, unstaged)

switch_branch(gitobj, branch_name)

timestamp_from_string(timestamp_string)

update(path, gitobj)