Configure Author and Email for your Git Commits

$ git config --global user.name "FIRST_NAME LAST_NAME"
$ git config --global user.email "MY_NAME@newcubator.com"

Why --global

Order where Git searches for configuration:

  1. Project specific .git/config
  2. User specific $HOME/.gitconfig
  3. System wide /usr/local/etc/gitconfig (On Mac)


If you want to get fancy and automate the email and other configurations based on the location of the project directory, you can use Conditional Includes.



Zur Übersicht

Standort Hannover

newcubator GmbH
Bödekerstraße 22
30161 Hannover

Standort Dortmund

newcubator GmbH
Westenhellweg 85-89
44137 Dortmund