Codeberg Setup
Use the same username and email as your GitHub account. That is all you really need to do in this document.
Extra steps
To clone and push ScottyLabs repos you need SSH. Verified commits are optional. See Commit signing (optional) if you want them.
SSH setup
SSH is how Git proves you are you when you clone and push. You make a key pair on your laptop, paste the public key into Codeberg, and keep the private key on your machine.
-
Create a key (replace the email with yours):
Terminal window ssh-keygen -t ed25519 -C "your@email"Press Enter to accept the default path (
~/.ssh/id_ed25519). Set a passphrase when prompted. -
Copy the public key:
Terminal window cat ~/.ssh/id_ed25519.pubCopy the whole line (
ssh-ed25519 …). -
Add it on Codeberg: open SSH / GPG keys, click Add key, paste, save.
-
Test it:
Terminal window ssh -T git@codeberg.orgYou should see a message with your username, not
Permission denied.
If ssh-add complains later, run ssh-add ~/.ssh/id_ed25519 and enter your passphrase.
(Optional) GitHub: add the same public key at GitHub SSH and GPG keys if you push there too.
Commit signing (optional)
Add your public key under SSH / GPG keys on Codeberg and click Verify to prove ownership.
SSH signing (Git 2.34+). You can use your auth key or a separate signing-only key:
git config --global gpg.format sshgit config --global user.signingKey '~/.ssh/id_ed25519.pub'git config --global commit.gpgSign trueGPG signing:
git config --global user.signingkey <key-id>git config --global commit.gpgSign trueNext steps
After SSH is working, follow Contributing to request access through Governance. See GitHub Organizations for how ScottyLabs uses GitHub and Codeberg together.