Sha256: 852e052fccb89f539ab8c39476834312a20170ed678b52b6454ceb2603f567b9
Contents?: true
Size: 1.11 KB
Versions: 3
Compression:
Stored size: 1.11 KB
Contents
# Space2hyphen [![Build Status](https://travis-ci.org/sachin21/space2hyphen.svg?branch=master)](https://travis-ci.org/sachin21/space2hyphen) ## What is space2hyphen Change the space into hyphen. space2hyphen is a useful command when you want to check out a branch. ## Installation Install it yourself as: ``` $ gem install space2hyphen ``` ## Usage From the terminal: ### 1. e.g. Create the new branch ``` $ space2hyphen new branch -c => Switched to the new branch 'new_branch’ ``` Run with `--create` or `-c` options. ### 2. e.g. Rename the already created a branch ``` $ git branch -m $(space2hyphen renamed branch) ``` When option is nothing, space2hyphen has outputted to the standard output. ## Shorthand A shorthand alias for space2hyphen can also be used. ``` s2h new branch ``` ## Credits - Installed information based on [Tmuxinator](https://github.com/tmuxinator/tmuxinator) ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
space2hyphen-0.0.3 | README.md |
space2hyphen-0.0.2 | README.md |
space2hyphen-0.0.1 | README.md |