Conditionally setting your gitconfig ↦
Very cool Marcus, very cool!
…let’s say that my code lives in
$HOME/workand my personal code lives in
$HOME/projects. You can do something like this
[user] email = firstname.lastname@example.org name = User signingkey = ABC123 [commit] gpgSign = true [includeIf "gitdir:~/work/"] path = ~/.work.gitconfig
Sign in or Join to comment or subscribe