Sha256: b78e58c22901d599d33a621917d54d5fa7fc7264fe7f9820efa75ed625bc603c
Contents?: true
Size: 732 Bytes
Versions: 2
Compression:
Stored size: 732 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| if args.empty? raise "usage: git-reflow start [new-branch-name]" else GitReflow.start feature_branch: args[0], base: options[:base] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
git_reflow-0.8.8 | lib/git_reflow/commands/start.rb |
git_reflow-0.8.7 | lib/git_reflow/commands/start.rb |