Fix secpick pushing to stable branch
This commit is contained in:
parent
cab3b77049
commit
96f8a282c6
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module Secpick
|
||||||
|
|
||||||
def git_commands
|
def git_commands
|
||||||
["git fetch #{@options[:remote]} #{stable_branch}",
|
["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 cherry-pick #{@options[:sha]}",
|
||||||
"git push #{@options[:remote]} #{source_branch}",
|
"git push #{@options[:remote]} #{source_branch}",
|
||||||
"git checkout #{original_branch}"]
|
"git checkout #{original_branch}"]
|
||||||
|
|
Loading…
Reference in a new issue