MCPcopy Create free account
hub / github.com/go-git/go-git / Push

Method Push

remote.go:93–95  ·  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

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

Calls 1

PushContextMethod · 0.95