Backlinks:
Created: 2025-05-14 11:31
Last edited: 2025-06-08 00:07
Anonymous GitHub repo
Purpose
Have a peer review version of a repo on GitHub w/o publishing stuff on main account where it might draw attention and already get stars etc.
Requirements
- separate GitHub account (
yourmail+foo@gmail.com) - separate SSH key
- a
~/.ssh/configwith contents like
Host github-as-anon
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_anongithub
IdentitiesOnly yes
Setup
- create new repo on GitHub
- local
$ cd my/anonymous/repo$ git init$ git config user.name "anonymous"$ git config user.email "anony@mous"$ git add -A$ git commit -m 'init'$ git remote add origin git@github-as-anon:user/repo.git- NOTE: in above, the host is changed from github.com to github-as-anon as set up in the SSH config
$ git push -u origin master