5 ms·
I have a GitHub account under my real name, but recently I've started using GitHub under a couple of other names instead. There's so much stuff you do in public
by ziml77 3y ago
I have a GitHub account under my real name, but recently I've started using GitHub under a couple of other names instead. There's so much stuff you do in public on GitHub that I want to avoid people doing exactly this kind of analysis on.
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.
- jxramos 3y agoPrivate repos are still off limits for this sort of analysis correct?
- _a_a_a_ 3y agoMicrosoft owns github so draw your own conclusions on whether that's true and how long it will last if it is.
- ahauxuueei 3y ago[flagged]
- ziml77 3y agoThey should be, but those aren't a solution for anything where you want to share, collaborate, or even just ask questions on.
- deleted 3y ago[deleted]
- 0x0 3y agoYou can have includeIf sections in your .gitconfig that applies only to things within a certain directory. So you if you create top level directories in your $HOME for your various identities, all you need to do is to make sure you are cloning into and working within the appropriate directory hierarchy.
- mplewis9z 3y agoI do this to separate personal and company repositories on the same machine, and it works flawlessly. An example config looks like: ~/.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.
- ziml77 3y agoOh that's really cool! I'm absolutely going to use this technique. Thanks both of you!
- zhfliz 3y agonote that this is technically against their TOS if not using paid accounts: > 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-terms-of-service#3-account-requirements https://docs.github.com/en/site-policy/github-terms/github-t...
- bigbillheck 3y agoThey'll have to catch me first.
- kfrzcode 3y agointernet would be better with total anonymity.
- awesome_dude 3y ago[flagged]
- Firmwarrior 3y agoWell, to be fair, some of the most vile hateful stuff I've ever seen in my life was posted on Facebook-powered comment sections under news articles, next to real names and pictures of smiling grandparents holding their grandchildren
- kfrzcode 3y agoYour experience is very different than mine.
- WalterBright 3y ago[flagged]
- awesome_dude 3y ago