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

Development

>= 0
>= 0
>= 0
< 0.49.0
 Project Readme

Space2underscore

Gem Version Build Status Code Climate Coverage Status Gem

What is space2underscore

Change the space into underscore. space2underscore is a useful command when you want to check out a branch.

Installation

Install it yourself as:

$ gem install space2underscore

Usage

From the command line:

1. e.g. Create the new branch

$ s2u new branch -c
=>  Switched to a new branch 'new_branch’

Run with --create or -c options.

2. e.g. Rename the already created a branch

$ git branch -m $(s2u renamed branch)

!! Cation !!

This is a command line tool. So DO NOT include space2underscore's module in other Ruby application because it uses system command. If you include this module to your application, there is a possibility of crackers attacking.

Credits