MCPcopy
hub / github.com/go-git/go-git / Push

Method Push

remote.go:94–96  ·  view source on GitHub ↗

Push performs a push to the remote. Returns NoErrAlreadyUpToDate if the remote was already up-to-date.

(o *PushOptions)

Source from the content-addressed store, hash-verified

92// Push performs a push to the remote. Returns NoErrAlreadyUpToDate if the
93// remote was already up-to-date.
94func (r *Remote) Push(o *PushOptions) error {
95 return r.PushContext(context.Background(), o)
96}
97
98// PushContext performs a push to the remote. Returns NoErrAlreadyUpToDate if
99// the remote was already up-to-date.

Calls 1

PushContextMethod · 0.95