Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 56f5e4e

Browse files
committed
repository: documentation
1 parent 75ef36b commit 56f5e4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

repository.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ func NewPlainRepository() *Repository {
5353
}
5454
}
5555

56+
// Pull connect and fetch the given branch from the given remote, the branch
57+
// should be provided with the full path not only the abbreviation, eg.:
58+
// "refs/heads/master"
5659
func (r *Repository) Pull(remoteName, branch string) (err error) {
5760
remote, ok := r.Remotes[remoteName]
5861
if !ok {

0 commit comments

Comments
 (0)