MCPcopy Create free account
hub / github.com/entireio/git-sync / newReplicateCmd

Function newReplicateCmd

cmd/git-sync/syncplan.go:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func newReplicateCmd() *cobra.Command {
18 return newSyncLikeCmd("replicate", "Fast-forward-only mirror from source to target", false, gitsync.ModeReplicate)
19}
20
21func newPlanCmd() *cobra.Command {
22 return newSyncLikeCmd("plan", "Show what a sync or replicate would do without pushing", true, "")

Callers 1

newRootCmdFunction · 0.85

Calls 1

newSyncLikeCmdFunction · 0.85

Tested by

no test coverage detected