GitClient¶
- class forkbit_sdk.GitClient[source]¶
Bases:
objectClient for git operations on the current project.
Available as
BasePlugin.git. Only usable if the project directory contains a.gitfolder — otherwise all methods raiseGitError.Example:
tags = self.git.list_tags() self.git.create_tag("v1.0.0", message="Release 1.0.0") self.git.push()