From bba8dc7d6725bbe30625d47f73ecaf59f6072e3b Mon Sep 17 00:00:00 2001 From: Pavel Shutsin Date: Thu, 14 Feb 2019 09:24:30 +0000 Subject: Simplify bin/secpick git commands --- bin/secpick | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/secpick b/bin/secpick index 8f956d300a7..99f4e871f72 100755 --- a/bin/secpick +++ b/bin/secpick @@ -45,9 +45,7 @@ module Secpick def git_commands ["git fetch #{@options[:remote]} #{stable_branch}", - "git checkout #{stable_branch}", - "git pull #{@options[:remote]} #{stable_branch}", - "git checkout -B #{source_branch}", + "git checkout -B #{source_branch} #{@options[:remote]}/#{stable_branch}", "git cherry-pick #{@options[:sha]}", "git push #{@options[:remote]} #{source_branch}", "git checkout #{original_branch}"] -- cgit v1.2.1