diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 26c46aa..e654160 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -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 @@ -47,7 +86,10 @@ Os scripts de deploy: - `VERSION++` (incrementar versão) - Atualizar `CHANGELOG.md` (documentar mudanças) - 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