git-commit with setting committer and author automatically

Project maintained by ryotarai Hosted on GitHub Pages — Theme by mattgraham


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.


$ gem install git-commit-autouser


Add the following settings to .gitconfig:

    url-regexp =
    name = "Ryota Arai"
    email =
    url-regexp =
    name = "Ryota Arai"
    email =
    ci = commit-autouser

Use git ci instead of git commit:

$ git ci


  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