Skip to content

Commit a147c77

Browse files
committed
ooops missed to commit lib changes
1 parent 42d0d13 commit a147c77

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/git/lib.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,11 @@ def push(remote, branch = 'master', tags = false)
541541
command('push', [remote, branch])
542542
command('push', ['--tags', remote]) if tags
543543
end
544-
544+
545+
def pull(remote = 'origin', branch = 'master')
546+
command('pull', [remote, branch])
547+
end
548+
545549
def tag_sha(tag_name)
546550
head = File.join(@git_dir, 'refs', 'tags', tag_name)
547551
return File.read(head).chomp if File.exists?(head)

0 commit comments

Comments
 (0)