Class: Ora::Cli::PushFeatureBranch
- Defined in:
- lib/ora/cli/tasks/push_feature_branch.rb
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
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/ora/cli/tasks/push_feature_branch.rb', line 5 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 push origin #{branch} ' end |