Comment Comment by embedding-shape Which works for a while, until you have a bunch of projects under various identities.In my main ~/.gitconfig I have: [includeIf "gitdir:/home/user/projects/embedding-shapes/"] path = /home/user/.gitconfig-embedding-shapes Where basically `projects/` follow GitHub naming with $user/$repo, so I set the git identity based on all projects within that user, rather than repo-by-repo which would get cumbersome fast.Then you just make sure you're in the right directory :) parent embedding-shape 8 months ago
In my main ~/.gitconfig I have:
Where basically `projects/` follow GitHub naming with $user/$repo, so I set the git identity based on all projects within that user, rather than repo-by-repo which would get cumbersome fast.Then you just make sure you're in the right directory :)