Open4
Setting GCM for WSL
global gitconfig
Win
[includeIf "gitdir/i:~/private/"]
path = ~/private/.gitconfig-private
system gitconfig
Win
[credential]
helper = manager
WSL
[credential]
helper = \"/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe\"
includeIf gitconfig
Win
[user]
name = xxxx
email = xxxx@xxxx
[credential]
namespace = private%
WSL
[user]
name = xxxx
email = xxxx@xxxx
[credential]
namespace = private%
~/private git init
Win
$ cd /mnt/c/Users/xxxx/private
$ git init
WSL
$ cd ~/private
$ git init