I have the following files:
C:\Users\User\.gitconfig
[includeIf "gitdir:C:/Development-Personal/"] path = development-personal.gitconfig [includeIf "gitdir:C:/Development-Work/"] path = development-work.gitconfig
C:\Users\User\development-personal.gitconfig
[credential] helper = manager [user] name = PersonalNickname email = personal@email.com
C:\Users\User\development-work.gitconfig
[user] name = WorkNickname email = work@email.com [http] sslVerify = false
Then I enter the folder C:\Development-Work\projects-git
, right-click to a project folder Project
and select the TortoiseGit client's ex. commit
command and the pop-up window appears that I have to set the user's name and email before commit.
What do I miss in my configuration? Thank you for the help.
The version of my Git:
C:\>git --version git version 2.18.0.windows.1
The version of my TortoiseGit
TortoiseGit 2.6.0.0 (C:\Program Files\TortoiseGit\bin) git version 2.18.0.windows.1 (C:\Program Files\Git\bin; C:\Program Files\Git\mingw64\; C:\Program Files\Git\mingw64\etc\gitconfig; C:\ProgramData\Git\config)