Sha256: 39ea92dd00c941906655cf9cd8d4fd19d0ee833ea9cc481df585e4787ead896c

Contents?: true

Size: 616 Bytes

Versions: 2

Compression:

Stored size: 616 Bytes

Contents

desc 'Start will create a new feature branch and setup remote tracking'
long_desc <<LONGTIME
  Performs the following:\n
  \t$ git checkout <base_branch>\n
  \t$ git pull origin <base_branch>\n
  \t$ git push origin <base_branch>:refs/heads/[new_feature_branch]\n
  \t$ git checkout --track -b [new_feature_branch] origin/[new_feature_branch]\n
LONGTIME
arg_name '[new-feature-branch-name] - name of the new feature branch'
command :start do |c|
  c.flag [:b,:base], default_value: 'master'
  c.action do |global_options, options, args|

    GitReflow.start feature_branch: args[0], base: options[:base]

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git_reflow-0.8.10 lib/git_reflow/commands/start.rb
git_reflow-0.8.9 lib/git_reflow/commands/start.rb