37 lines
955 B
Markdown
37 lines
955 B
Markdown
# Git Credentials - OCTTO Engenharia
|
|
|
|
## Repositório
|
|
- **URL:** https://git.stackbyte.cloud/erik/octto-engenharia.git
|
|
- **Usuário:** erik
|
|
- **Token:** 1ada354bbbf548b5ff2c2e2419d15368f3b70a05
|
|
|
|
## Configuração Git Automática
|
|
|
|
Para não precisar inserir credenciais toda vez, execute:
|
|
|
|
```bash
|
|
cd frontend
|
|
git remote set-url origin https://erik:1ada354bbbf548b5ff2c2e2419d15368f3b70a05@git.stackbyte.cloud/erik/octto-engenharia.git
|
|
```
|
|
|
|
## Push Rápido
|
|
|
|
```bash
|
|
cd frontend
|
|
git add .
|
|
git commit -m "sua mensagem aqui"
|
|
git push origin main
|
|
```
|
|
|
|
## Configuração SSH (Alternativa Segura)
|
|
|
|
Se preferir não armazenar credenciais em texto plano:
|
|
1. Gere uma chave SSH: `ssh-keygen -t ed25519`
|
|
2. Adicione a chave pública no Git (Settings > SSH Keys)
|
|
3. Configure: `git remote set-url origin git@git.stackbyte.cloud:erik/octto-engenharia.git`
|
|
|
|
---
|
|
|
|
**Salvo em:** `docs/GIT_CREDENTIALS.md`
|
|
**Acesso:** Sempre que precisar fazer push, consulte este arquivo
|