Documentation
¶
Index ¶
- Constants
- type Add
- type AddService
- type Checkout
- type CheckoutService
- type Clone
- type CloneService
- type Commit
- type CommitService
- type Example
- type ExampleService
- type Fetch
- type FetchService
- type Init
- type InitService
- type Pull
- type PullService
- type Push
- type PushService
- type Status
- type StatusService
Constants ¶
View Source
const ( GitExample = "git-example" GitAdd = "git-add" GitCheckout = "git-checkout" GitClone = "git-clone" GitCommit = "git-commit" GitConfig = "git-config" GitFetch = "git-fetch" GitInit = "git-init" GitPull = "git-pull" GitPush = "git-push" GitStatus = "git-status" )
定义标准的git命令名称
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddService ¶ added in v0.0.5
AddService 。。。
type Checkout ¶ added in v0.0.5
type Checkout struct { store.Meta Service CheckoutService }
Checkout 表示一条git命令
type CheckoutService ¶ added in v0.0.5
CheckoutService 。。。
type CloneService ¶ added in v0.0.5
CloneService 。。。
type Commit ¶ added in v0.0.5
type Commit struct { store.Meta Service CommitService }
Commit 表示一条git命令
type CommitService ¶ added in v0.0.5
CommitService 。。。
type Example ¶ added in v0.0.5
type Example struct { store.Meta Service ExampleService }
Example 表示一条git命令
type ExampleService ¶ added in v0.0.5
ExampleService 。。。
type Fetch ¶ added in v0.0.5
type Fetch struct { store.Meta Service FetchService Depth bool // = "--depth" // =<depth> Deepen bool // = "--deepen" // =<depth> ShallowSince bool // = "--shallow-since" // =<date> ShallowExclude bool // = "--shallow-exclude" // =<revision> NegotiationTip bool // = "--negotiation-tip" // =<commit|glob> Refmap bool // = "--refmap" // =<refspec> RecurseSubmodule bool // = "--recurse-submodules" // =[=yes|on-demand|no] Jobs bool // = "--jobs" // =<n> SubmodulePrefix bool // = "--submodule-prefix" // =<path> RecurseSubmoduleDefault bool // = "--recurse-submodule-default" // =[yes|on-demand] UploadPack bool // = "--upload-pack" // <upload-pack> ServerOption bool // = "--server- ion" // =< ion> All bool // = "--all" Append bool // = "--append" Unshallow bool // = "--unshallow" UpdateShallow bool // = "--update-shallow" NegotiateOnly bool // = "--negotiate-only" DryRun bool // = "--dry-run" WriteFetchHead bool // = "--write-fetch-head" NoWriteFetchHead bool // = "--no-write-fetch-head" Force bool // = "--force" Keep bool // = "--keep" Multiple bool // = "--multiple" NoAutoMaintenance bool // = "--no-auto-maintenance" AutoMaintenance bool // = "--auto-maintenance" NoAutoGC bool // = "--no-auto-gc" AutoGC bool // = "--auto-gc" NoWriteCommitGraph bool // = "--no-write-commit-graph" WriteCommitGraph bool // = "--write-commit-graph" Prefetch bool // = "--prefetch" Prune bool // = "--prune" PruneTags bool // = "--prune-tags" NoTags bool // = "--no-tags" Refetch bool // = "--refetch" Tags bool // = "--tags" NoRecurseSubmodules bool // = "--no-recurse-submodules" SetUpstream bool // = "--set-upstream" UpdateHeadOK bool // = "--update-head-ok" Quiet bool // = "--quiet" Verbose bool // = "--verbose" Progress bool // = "--progress" ShowForcedUpdates bool // = "--show-forced-updates" NoShowForcedUpdates bool // = "--no-show-forced-updates" Ipv4 bool // = "--ipv4" Ipv6 bool // = "--ipv6" Stdin bool // = "--stdin" Items []string }
Fetch 表示一条git命令
type FetchService ¶ added in v0.0.5
FetchService 。。。
type Init ¶ added in v0.0.5
type Init struct { store.Meta Service InitService Quiet bool Bare bool TemplateDirectory string SeparateGitDir string ObjectFormat string BranchName string Permissions string Directory string }
Init 表示一条git命令
type InitService ¶ added in v0.0.5
InitService 。。。
type PullService ¶ added in v0.0.5
PullService 。。。
type PushService ¶ added in v0.0.5
PushService 。。。
type Status ¶ added in v0.0.5
type Status struct { store.Meta Service StatusService }
Status 表示一条git命令
Click to show internal directories.
Click to hide internal directories.