Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Run from your project folder before committing to Git to avoid whitespace errors
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.document
.gitignore
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
VERSION
white.gemspec

README.md

Fix your whitespace

Run from your project folder before committing to Git to avoid whitespace errors.

Installation

sudo gem install white

Usage

cd MyProject
...hack hack hack...
white
git commit -a -m "Add another awesome feature"

Options

$ white --help
Usage: white [options]

Tab expansion:
    -t, --tabsize=SIZE               Expand tabs using the given tab size

Picking files to process:
    -e, --ext=EXT                    Include files with the given extension (e.g. -e inc)
    -n, --name=NAME                  Include files with the given name (e.g. -n Cakefile)

Common options:
    -v, --verbose                    Show a full list of processed files
    -h, --help                       Show this message

License

Copyright (c) 2011 Andrey Tarantsov. MIT license.

Something went wrong with that request. Please try again.