Convert a commit message into a reasonable description
Add this line to your application's Gemfile:
gem 'commit_message'
And then execute:
$ bundle
Or install it yourself as:
$ gem install commit_message
For the head of a repository in the working directory:
puts CommitMessage.new
For a specific revision:
puts CommitMessage.new(revision: "master")
For a different repo:
puts CommitMessage.new(repo: "/path/to/repo")
- Fork it ( https://github.com/sionide21/commit_message/fork )
- 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