semantic_release.gitproject module¶
Module for git related operations.
- class semantic_release.gitproject.GitProject(directory: Path | str = '.', commit_author: Actor | None = None, credential_masker: MaskingFilter | None = None)[source]¶
Bases:
object
- git_add(paths: Sequence[Path | str], force: bool = False, strict: bool = False, noop: bool = False) None [source]¶
- git_commit(message: str, date: int | None = None, commit_all: bool = False, no_verify: bool = False, noop: bool = False) None [source]¶
- property logger: Logger¶
- property project_root: Path¶