0.0
No commit activity in last 3 years
No release in over 3 years
Change the space into hyphen
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
>= 0
 Project Readme

Space2hyphen Build Status

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

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