Skip to content
Snippets Groups Projects
Commit bba8dc7d authored by pshutsin's avatar pshutsin
Browse files

Simplify bin/secpick git commands

parent 4b2ba1a7
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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}"]
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment