// Pull fetches from and integrate with a local branch.
Pull fetches from and integrate with a local branch.
// Pull fetches from and integrate with a local branch .
func (r *repo) Pull(ctx context.Context, branch string) error {
	out, err := r.runGitCommand(ctx, "pull", r.remote, branch)
	if err != nil {
		return formatCommandError(err, out)
	}
	return nil
}
func ( r * repo ) Pull ( ctx context . Context , branch string ) error { out , err := r . runGitCommand ( ctx , " " , r . remote , branch ) if err != nil { return formatCommandError ( err , out ) } return nil }
Pull fetches from and integrate with a local branch.
Pull fetches from and integrate with a local branch .