fix error: did you mean '--all' (with two dashes ?)
This commit is contained in:
parent
b57ea072a4
commit
b31304b187
|
@ -177,8 +177,7 @@ class PullRequest < ActiveRecord::Base
|
|||
|
||||
Dir.chdir(path) do
|
||||
system 'git', 'tag', '-d', from_ref, to_ref
|
||||
system 'git fetch --tags -all'
|
||||
system 'git fetch --all'
|
||||
system 'git fetch --tags && git fetch --all'
|
||||
|
||||
tags, head = repo.tags.map(&:name), to_project == from_project ? 'origin' : 'head'
|
||||
system 'git', 'checkout', to_ref
|
||||
|
|
Loading…
Reference in New Issue