Here are the instructions:
ssh-keygen -t ed25519 -C "shelley@exe.dev" -f ~/.ssh/id_ed25519 -N ""
cat ~/.ssh/id_ed25519.pubShow the public key to the user. They will add it as a deploy key to the GitHub repo.
Always set user info before committing:
git config user.name "Jeff Allen (Shelley)"
git config user.email "jra@nella.org"- Use a single, clean initial commit when possible
- Write clear commit messages
- Don't check in binaries, database files, or build artifacts - use
.gitignore
Accept the host key automatically:
GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=accept-new" git push -u origin mainIf you commit before setting user info:
git config user.name "Jeff Allen (Shelley)"
git config user.email "jra@nella.org"
git commit --amend --reset-author --no-edit
git push --force origin main