Chave pública:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEn2LZKvw/QbmXy9AE8bi9BEB6BAzYNAmX9DpuPR6dmN github-trajectory-engineering
Localização: ~/.ssh/id_ed25519_github
- Acesse: https://github.com/danvoulez/Trajectory-Engineering-Base/settings/keys
- Clique em "Add deploy key"
- Title:
Trajectory Engineering - Local - Key: Cole a chave pública acima
- ✅ Marque "Allow write access"
- Clique em "Add key"
- Acesse: https://github.com/settings/keys
- Clique em "New SSH key"
- Title:
Trajectory Engineering - Key: Cole a chave pública acima
- Clique em "Add SSH key"
# Adicionar ao ssh-agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519_github
# Testar conexão
ssh -T git@github.com
# Deve retornar: "Hi danvoulez! You've successfully authenticated..."git remote set-url origin git@github.com:danvoulez/Trajectory-Engineering-Base.git
git remote -v # Verificargit push origin mainConfigure em: https://github.com/danvoulez/Trajectory-Engineering-Base/settings/branches
Configurações recomendadas:
- ✅ Require a pull request before merging
- ✅ Require approvals: 1
- ✅ Require review from Code Owners
- ✅ Require conversation resolution before merging
- ✅ Require linear history
- ❌ Allow force pushes
- ❌ Allow deletions
- 2FA: Habilite autenticação de dois fatores na sua conta GitHub
- Secret Scanning: Já habilitado automaticamente
- Dependabot: Já habilitado para security updates
- ✅ Chave SSH gerada
- ✅ Remote configurado (HTTPS temporário)
- ⏳ Aguardando adição da chave SSH no GitHub
- ⏳ Branch protection a configurar