Sha256: 8ebcc1df2217a8b56284f1fae1afff7a40b7c4562c0375bed23f46a78707e8da

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

# Space2underscore
## What is space2underscore
Change the space into underscore.

space2underscore is a useful command when you want to check out a branch.

## Installation

Add this line to your application's Gemfile:

    gem 'space2underscore'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install space2underscore

If your computer is Ubuntu then

    $ sudo apt-get install xsel

If your computer is CentOS then

    $ sudo yum -y install xsel

## Usage

From the terminal:

    $ space2underscore new branch
    => Do you create the new branch? [y/Y] # y
    =>  Switched to the new branch 'new_branch’
    =>  Branch has been created.

Or

    $ space2underscore new branch
    => Do you create the new branch? [y/Y/Yes, n/N/No] # n
    => Branch name has been copied to clipboard.
    $ git branch -m new_branch # Paste from clipboard

## 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

1 entries across 1 versions & 1 rubygems

Version Path
space2underscore-0.2.2 README.md