Git
Git(url, deployment, force, deployed_commit, remote, config=None)
Abstraction of Git object
Initialize GIT object
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
url
|
str
|
file or http(s) path to GIT repository |
required |
deployment
|
str
|
name of selected deployment group |
required |
force
|
bool
|
whether or not Git context was forced |
required |
deployed_commit
|
GitCommit
|
GitCommit object of the currently deployed commit |
required |
remote
|
GitRemote
|
GitRemote object of the current remote |
required |
config
|
dict
|
Dictionary containing git configuration parameters |
None
|