TIL – Using conditional entries in .gitconfig to automatically manage #git identities based on the working directory. Nice!

dev.to/maxlmator/maintaining-d

@jomo What is the benefit compared to `using git config user.name="Firstname Lastname"` and `git config user.email=name@company.tld` while being in `~/work/`? This will be stored in `~/work/.git/config`

Follow

@lx242 @jomo Neat idea. I switch computers all the time and forgetting to set this happens all the time 👍

Sign in to participate in the conversation
Mastodon

One of the first Mastodon instances, there is no specific topic we're into, just enjoy your time!