Merge branch 'fix-secpick' into 'master'
Fix secpick pushing to stable branch See merge request gitlab-org/gitlab-ce!31275
This commit is contained in:
commit
11f82c891a
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module Secpick
|
|||
|
||||
def git_commands
|
||||
["git fetch #{@options[:remote]} #{stable_branch}",
|
||||
"git checkout -B #{source_branch} #{@options[:remote]}/#{stable_branch}",
|
||||
"git checkout -B #{source_branch} #{@options[:remote]}/#{stable_branch} --no-track",
|
||||
"git cherry-pick #{@options[:sha]}",
|
||||
"git push #{@options[:remote]} #{source_branch}",
|
||||
"git checkout #{original_branch}"]
|
||||
|
|
Loading…
Reference in a new issue