PushRefs push git refs matching a directory prefix to a remote Ex: prefix="foo" will push any local refs matching "refs/foo/*" to the remote. The equivalent git refspec would be "refs/foo/*:refs/foo/*" Additionally, PushRefs will update the local references in refs/remotes/ /foo to match the
(remote string, prefixes ...string)
| 141 | // Additionally, PushRefs will update the local references in refs/remotes/<remote>/foo to match |
| 142 | // the remote state. |
| 143 | PushRefs(remote string, prefixes ...string) (string, error) |
| 144 | |
| 145 | // StoreData will store arbitrary data and return the corresponding hash |
| 146 | StoreData(data []byte) (Hash, error) |
no outgoing calls
no test coverage detected