diff options
author | Pavel Shutsin <pshutsin@gitlab.com> | 2019-02-14 12:24:30 +0300 |
---|---|---|
committer | Pavel Shutsin <pshutsin@gitlab.com> | 2019-02-14 12:24:30 +0300 |
commit | bba8dc7d6725bbe30625d47f73ecaf59f6072e3b (patch) | |
tree | 978f3962e3a7d26a7301843af807f98655a1d163 | |
parent | 4b2ba1a70e72d3e53a696d7c8c0ca0cedf0f95a7 (diff) |
Simplify bin/secpick git commands
-rwxr-xr-x | bin/secpick | 4 |
1 files changed, 1 insertions, 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}"] |