Package itools :: Package git

Package git

Functions
 
describe(match=None, cwd=None)
 
get_branch_name(cwd=None)
Returns the name of the current branch.
 
get_filenames()
Returns the list of filenames tracked by git.
 
get_metadata(reference='HEAD', cwd=None)
Returns some metadata about the given commit reference.
 
get_revisions(files=frozenlist([]), cwd=None)
 
is_available()
Returns True if we are in a git working directory, False otherwise.
Function Details

get_metadata(reference='HEAD', cwd=None)

 

Returns some metadata about the given commit reference.

For now only the commit id and the timestamp are returned.