Project

commit

0.0
No release in over 3 years
Performs the following: 1) git add 2) git commit 3) git push Works with Git LFS
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Commit Gem Version

Runs git commit without prompting for a message. Files larger than 2 GB are added to .gitignore instead of being committed.

This gem is further described in A Streamlined Git Commit.

Installation

  1. Install the rugged gem.

  2. Type:

    gem install commit

Usage

$ commit [options] [file...]

Where options are:

  • -a "tag message"
  • -m "commit message"
  • -v 0 # Minimum verbosity
  • -v 1 # Default verbosity
  • -v 2 # Maximum verbosity

Examples

$ commit  # The default commit message is just a single dash (-)
$ commit -v 0
$ commit -m "This is a commit message"
$ commit -v 0 -m "This is a commit message"
$ commit -a 0.1.2

Development

After checking out this git repository, install dependencies by typing:

$ bin/setup

You should do the above before running Visual Studio Code.

Run the Tests

$ bundle exec rake test

Interactive Session

The following will allow you to experiment:

$ bin/console

Local Installation

To install this gem onto your local machine, type:

$ bundle exec rake install

To Release A New Version

To create a git tag for the new version, push git commits and tags, and push the new version of the gem to https://rubygems.org, type:

$ bundle exec rake release

Contributing

Bug reports and pull requests are welcome at https://github.com/mslinn/commit.

License

The gem is available as open source under the terms of the MIT License.