Fix secpick pushing to stable branch

This commit is contained in:
Thong Kuah 2019-07-30 10:51:29 +00:00
parent cab3b77049
commit 96f8a282c6
1 changed files with 1 additions and 1 deletions

View File

@ -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}"]