Skip to main content

Module git

Module git 

Source

Structs§

Commit

Functions§

commit
Create a commit with the given message.
commits_since_tag
Return all commits reachable from HEAD since the given tag. When tag is None, returns all commits in the repository.
create_tag
Create an annotated tag pointing to HEAD.
current_branch
Return the name of the currently checked-out branch.
has_uncommitted_changes
Return true if the working tree has staged or unstaged changes, including untracked files.
latest_semver_tag
Return the latest semver tag (sorted by version), or None if no tags exist.
push_with_tag
Push the branch and tag to origin.
remote_url
Return the normalized remote URL for origin, or None if no remote is configured.
stage_files
Stage the given files for commit.
tag_exists
Check whether the given tag exists in the repository.