git dust
A Git sub command for Dust Commits Workflow.
Installation
Depenedencies:
- git
- Ruby
Install via RubyGems:
$ gem install git-dust
Install standalone version:
$ curl https://raw.githubusercontent.com/nishidayuya/git-dust/master/lib/git/dust.rb \
| sed -e 's/^# FOR STANDALONE: //' \
> path-environment-directory/git-dust
$ chmod a+x path-environment-directory/git-dust
Usage
To create many dust commits and squash them:
$ git add foo.txt
$ git dust commit
<commit foo.txt with commit message "git dust commit.">
$ git dust commit -a
<commit modified files with commit message "git dust commit.">
...
$ git dust fix
<squash dust commits and open editor to write commit message>
News
- 0.0.0: 2014-07-12 first release.
- "git dust commit" and "git dust fix".
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request