6 votes

How to go about mirroring a repo to separate real identity from online identity?

I struggled to word this question.

Let's say that I wish to work on a project to benefit Tildes (I don't currently have an idea, but just for example). Anything I did, I would like to keep opensource and would encourage other users to contribute. But I would like to keep everything linked to my pseudonym as not to dox myself.

However, I would like to have a copy of everything on my personal GitHub as well, because I am a professional programmer and that is effectively my CV.

Is there a good way to mirror a repo in a way that any git history contributed by me, "John Smith", is changed to "bugsmith" on the mirrored repo? (or vice versa).

5 comments

  1. [2]
    Comment deleted by author
    Link
    1. bugsmith
      Link Parent
      You are absolutely correct. I don't know why that didn't cross my mind before posting. I think this is the only real answer needed. Thanks.

      You are absolutely correct. I don't know why that didn't cross my mind before posting. I think this is the only real answer needed. Thanks.

      3 votes
  2. [2]
    stu2b50
    Link
    Not really. Commits in a repo are immutable, and integrity is guaranteed by the merkle tree (e.g the chain of hashes, you could even call it a blockchain). That includes the authorship. You could...

    Not really. Commits in a repo are immutable, and integrity is guaranteed by the merkle tree (e.g the chain of hashes, you could even call it a blockchain). That includes the authorship. You could rebase it, but that would also force you to recreate every commit upstream of yours.

    3 votes
    1. bugsmith
      Link Parent
      Another excellent point I hadn't considered. Thanks.

      Another excellent point I hadn't considered. Thanks.

      1 vote
  3. [2]
    Comment deleted by author
    Link
    1. admicos
      Link Parent
      I personally prefer something along the lines of https://github.com/intgr/ego (Linux only AFAIK) & different accounts on my pc, as it sidesteps the whole "oh god am i really sure i remembered to...

      I personally prefer something along the lines of https://github.com/intgr/ego (Linux only AFAIK) & different accounts on my pc, as it sidesteps the whole "oh god am i really sure i remembered to set this repo up right?? will my home dir path leak through to the compiled binary???? what if it tries to sign the commit with my gpg key?? aaaaaa" anxiety of having multiple online identities.

      1 vote
  4. elgis
    Link
    I haven't tried this myself, but if you add your bugsmith email to your John Smith account, bugsmith's contributions would be counted as John Smith's. See the GitHub docs. However, this probably...

    I haven't tried this myself, but if you add your bugsmith email to your John Smith account, bugsmith's contributions would be counted as John Smith's. See the GitHub docs.

    However, this probably won't keep your identities separate...