Class: ShareReReRe::PullReReRe

Inherits:
Object
  • Object
show all
Includes:
GitHelpersMixin, ShareReReReMixin
Defined in:
lib/git_bpf/commands/share-rerere-cache.rb

Instance Method Summary collapse

Methods included from ShareReReReMixin

#options

Methods included from GitHelpersMixin

#branchExists?, #context, #promptYN, #refExists?, #terminate

Instance Method Details

#execute(opts, argv) ⇒ Object



49
50
51
52
# File 'lib/git_bpf/commands/share-rerere-cache.rb', line 49

def execute(opts, argv)
  rerere = Repository.new opts.work_tree
  rerere.cmd("pull", '--quiet', opts.remote, opts.branch)
end