A Pythonic git API
The Git represent a git tree
Call a git command
Parameters: |
|
---|
Wrapper for git clone
Wrapper for git fetch
Get a git config value. Return None if not found
return the current branch
return the current ref git symbolic-ref HEAD else: git name-rev –name-only –always HEAD
Returns true if working dir is clean. (ie no untracked files, no unstaged changes)
param untracked: will return True even if there are untracked files.
Check if the worktree is a valid git tree
Wrapper for git pull
Wrapper for git push
Wrapper for git remote
Wrapper for git reset