FetchRefs fetch git refs matching a directory prefix to a remote Ex: prefix="foo" will fetch any remote refs matching "refs/foo/*" locally. The equivalent git refspec would be "refs/foo/*:refs/remotes/ /foo/*"
(remote string, prefixes ...string)
| 133 | // Ex: prefix="foo" will fetch any remote refs matching "refs/foo/*" locally. |
| 134 | // The equivalent git refspec would be "refs/foo/*:refs/remotes/<remote>/foo/*" |
| 135 | FetchRefs(remote string, prefixes ...string) (string, error) |
| 136 | |
| 137 | // PushRefs push git refs matching a directory prefix to a remote |
| 138 | // Ex: prefix="foo" will push any local refs matching "refs/foo/*" to the remote. |
no outgoing calls
no test coverage detected