From 96f8a282c6ad1a598b4720c38a34646d0dc0439e Mon Sep 17 00:00:00 2001 From: Thong Kuah Date: Tue, 30 Jul 2019 10:51:29 +0000 Subject: [PATCH] Fix secpick pushing to stable branch --- bin/secpick | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/secpick b/bin/secpick index d01304285b6..8a61356a088 100755 --- a/bin/secpick +++ b/bin/secpick @@ -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}"]