chore: migrar repositório para Gitea (git.cnxifly.com) - removido GitHub
This commit is contained in:
parent
6a86b2627d
commit
0949343f9b
46
.github/copilot-instructions.md
vendored
46
.github/copilot-instructions.md
vendored
@ -1,4 +1,43 @@
|
|||||||
# GitHub Copilot Instructions
|
# Copilot Instructions
|
||||||
|
|
||||||
|
## 🔄 REPOSITÓRIO GIT - GITEA (Self-Hosted)
|
||||||
|
|
||||||
|
**IMPORTANTE:** O repositório principal é o Gitea no nosso servidor, NÃO o GitHub.
|
||||||
|
|
||||||
|
### Configuração do Repositório
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Repositório principal (Gitea)
|
||||||
|
git remote -v
|
||||||
|
# gitea https://git.cnxifly.com/marco/webmoney.git
|
||||||
|
|
||||||
|
# URL Web
|
||||||
|
https://git.cnxifly.com/marco/webmoney
|
||||||
|
|
||||||
|
# Credenciais Gitea
|
||||||
|
Usuário: marco
|
||||||
|
Senha: M@ster9354
|
||||||
|
```
|
||||||
|
|
||||||
|
### Comandos Git
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Push para Gitea (SEMPRE usar este)
|
||||||
|
git push gitea main
|
||||||
|
|
||||||
|
# Pull do Gitea
|
||||||
|
git pull gitea main
|
||||||
|
|
||||||
|
# Commit padrão
|
||||||
|
git add -A && git commit -m "descrição" && git push gitea main
|
||||||
|
```
|
||||||
|
|
||||||
|
### ❌ Proibições Git
|
||||||
|
|
||||||
|
- NUNCA usar `git push origin` (GitHub foi descontinuado)
|
||||||
|
- NUNCA criar repositórios no GitHub para este projeto
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## 🚨 REGRA CRÍTICA DE DEPLOY
|
## 🚨 REGRA CRÍTICA DE DEPLOY
|
||||||
|
|
||||||
@ -47,7 +86,10 @@ Os scripts de deploy:
|
|||||||
- `VERSION++` (incrementar versão)
|
- `VERSION++` (incrementar versão)
|
||||||
- Atualizar `CHANGELOG.md` (documentar mudanças)
|
- Atualizar `CHANGELOG.md` (documentar mudanças)
|
||||||
- Atualizar `README.md` (sempre que necessário - novas features, requisitos, comandos, etc.)
|
- Atualizar `README.md` (sempre que necessário - novas features, requisitos, comandos, etc.)
|
||||||
5. Commit e push
|
5. Commit e push para Gitea:
|
||||||
|
```bash
|
||||||
|
git add -A && git commit -m "descrição" && git push gitea main
|
||||||
|
```
|
||||||
|
|
||||||
### 📝 Quando atualizar README.md
|
### 📝 Quando atualizar README.md
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user