feat(submodule): atualizar submodulo .agent na branch master ao iniciar sessao
This commit is contained in:
parent
b1c4c5c42e
commit
29e5bc979e
14 changed files with 306 additions and 13 deletions
|
|
@ -22,14 +22,22 @@ flowchart LR
|
|||
|
||||
---
|
||||
|
||||
## PASSO 1 — Adicionar o Submódulo `.agent`
|
||||
## PASSO 1 — Adicionar e Configurar o Submódulo `.agent` na Branch Master
|
||||
|
||||
Na raiz do repositório do novo projeto:
|
||||
|
||||
```bash
|
||||
git submodule add https://git2.idz.one/publico/.agent.git.agent
|
||||
# Adicionar rastreando explicitamente a branch master
|
||||
git submodule add -b master https://git2.idz.one/publico/.agent.git .agent
|
||||
git submodule update --init --recursive --remote
|
||||
```
|
||||
|
||||
> 💡 **Repositórios existentes:** Caso o submódulo já esteja adicionado, garanta o rastreamento da branch `master`:
|
||||
> ```bash
|
||||
> git submodule set-branch --branch master .agent
|
||||
> git submodule update --init --recursive --remote
|
||||
> ```
|
||||
|
||||
---
|
||||
|
||||
## PASSO 2 — Configurar a Identidade do Módulo (`memorias-ia/modulo.yml`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue