Skip to contentSkip to conversation

mistake in the first-patch tutorial regarding .gitconfig ?

DISCUSSION Dafna Hirschfeld 2 participants 2 messages Feb 15, 2018

lore
Share & tools
lore
#0 lore raw

Hi,
It is written in the first-patch tutorial that the name and email configuration should be set in a file .gitconfig.

The .gitconfig file resides in the home directory. For specific project, the configuration should be set in .git/config

Dafna

#1 lore raw
Quoted 6 lines · Dafna Hirschfeld

Hi,
It is written in the first-patch tutorial that the name and email configuration should be set in a file .gitconfig.

The .gitconfig file resides in the home directory. For specific project, the configuration should be set in .git/config

Hi Dafna,

You will want to have the configuration stored in .gitconfig in case you use multiple repos.

You can have a look here:

https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup

thanks,
Daniel.