by ziml77 · 3y ago · 0 comments
I wish using multiple identities was at least some level of foolproof though. I have to be careful to configure my local copies of repos to use the correct username, masked email, and PGP signing key. It would be super handy if git had a global config of multiple identities and if I could have it prompt me to select one either when I clone a repo or the first time I push to it.
> One person or legal entity may maintain no more than one free Account (if you choose to control a machine account as well, that's fine, but it can only be used for running a machine)
https://docs.github.com/en/site-policy/github-terms/github-t...
nostr is allowing for more options
and Jack Dorsey happens to have put up a 1 billion sats bounty to """Create a “complete” Nostr-based suite of git tools, such that projects like bitcoin-core are sufficiently confident to move away from GitHub."""
~/.gitconfig:
```
[includeIf "gitdir:~/Personal/"]
path = ~/personal.gitconfig
```~/personal.gitconfig:
```
[user]
email = {personal email address}
```And you can have arbitrary numbers of "profiles" like this, as long as each is in their own directory.