README.md in space2dash-0.0.3 vs README.md in space2dash-0.0.4

- old
+ new

@@ -1,24 +1,41 @@ -# Space2dash +# Space2dash [![Build Status](https://travis-ci.org/sachin21/space2dash.svg?branch=master)](https://travis-ci.org/sachin21/space2dash) ## What is space2dash Change the space into dash. space2dash is a useful command when you want to check out a branch. ## Installation Install it yourself as: $ gem install space2dash ## Usage - From the terminal: - $ space2dash new branch -c - => Switched to the new branch 'new-branch’ +### 1. e.g. Create the new branch -Or +``` +$ space2dash new branch -c +=> Switched to the new branch 'new_branch’ +``` - $ git branch -m $(space2dash renamed branch) # Output to the standard output +Run with `--create` or `-c` options. + +### 2. e.g. Rename the already created a branch + +``` +$ git branch -m $(space2dash renamed branch) +``` + +When option is nothing, space2dash has outputted to the standard output. + +## Shorthand + +A shorthand alias for space2dash can also be used. + +``` +s2d new branch +``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)