No commit activity in last 3 years
No release in over 3 years
git-commit with setting name and email automatically
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
>= 0
 Project Readme

git-commit-autouser Build Status

git-commit-autouser sets name and email of committer and author automatically. The name and email are determined by the url of the remote origin.

Installation

$ gem install git-commit-autouser

Usage

Add the following settings to .gitconfig:

[autouser-github]
    url-regexp = github.com
    name = "Ryota Arai"
    email = ryota.arai@gmail.com
[autouser-company]
    url-regexp = git.company.com
    name = "Ryota Arai"
    email = ryota.arai@company.com
[alias]
    ci = commit-autouser

Use git ci instead of git commit:

$ git ci

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