Provides commands and queries for Git.
Abort a merge by reading the tree at HEAD.
Return the names of all files in the repository
Return a tuple of (local branches, remote branches, tags).
Return a list of local or remote branches
This explicitly removes HEAD from the list of remote branches.
Return the current branch
Return the remote tracked by the current branch.
Return a list of filenames that have been modified
Invokes git diff on a filepath.
handles quoted paths.
Export patches from start^ to end.
Return refs starting with ‘refs’.
Group contiguous revision selection into patchsets
Exists to handle multi-selection. Multiple disparate ranges in the revision selection are grouped into continuous lists.
Return parallel arrays containing the SHA-1s and summaries.
Given ref, return $(git merge-base ref HEAD)..ref.
Return a merge message for FETCH_HEAD.
Return the path to .git/MERGE_MSG or .git/SQUASH_MSG.
Return a list of(mode, type, sha1, path) tuples.
Parse git log –pretty=online output into (SHA-1, summary) pairs.
Return a (SHA-1, summary) pairs between start and end.
Return a list of tags.
Return the remote branch associated with ‘branch’.
Returns a sorted list of untracked files.
Return a tuple of files in various states of being
Can be staged, unstaged, untracked, unmerged, or changed upstream.
Return a dict of files in various states of being
Return type: | dict, keys are staged, unstaged, untracked, unmerged, changed_upstream, and submodule. |
---|