mirror of
https://github.com/thegeeklab/wp-git-action.git
synced 2024-11-28 08:10:35 +00:00
30 lines
454 B
Go
30 lines
454 B
Go
package git
|
|
|
|
type Author struct {
|
|
Name string
|
|
Email string
|
|
}
|
|
|
|
type Repository struct {
|
|
RemoteName string
|
|
RemoteURL string
|
|
Branch string
|
|
|
|
Add string
|
|
CommitMsg string
|
|
|
|
Autocorrect string
|
|
NoVerify bool
|
|
InsecureSSLVerify bool
|
|
EmptyCommit bool
|
|
PushFollowTags bool
|
|
ForcePush bool
|
|
SSLVerify bool
|
|
WorkDir string
|
|
InitExists bool
|
|
|
|
Author Author
|
|
}
|
|
|
|
const gitBin = "/usr/bin/git"
|