Class: Ora::Cli::PushTask
Direct Known Subclasses
Constant Summary
Constants inherited from Task
Instance Attribute Summary
Attributes inherited from Task
#branch, #develop_branch, #print, #stdin
Instance Method Summary collapse
Methods inherited from Task
Constructor Details
This class inherits a constructor from Ora::Cli::Task
Instance Method Details
#commands ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/ora/cli/push_task.rb', line 6 def commands ' :feature_branch! :clean_branch! :pull_branch git checkout #{develop_branch} git pull origin #{develop_branch} git checkout #{branch} git merge #{develop_branch} git checkout #{target} git pull origin #{target} git merge #{branch} git push origin #{target} git checkout #{branch} :slack_message_to_paste ' end |