Pular para o conteúdo

3. Clonar seus repos

Você vai precisar clonar localmente todos os repos que tem acesso. Clone = cópia funcional que sincroniza com o GitHub.

Na sua máquina (Mac):

Terminal window
brew install gh

Depois:

Terminal window
gh auth login

Responde as perguntas:

  • Where: GitHub.com
  • Protocol: HTTPS
  • Auth git: Yes
  • How: Login with a web browser

Cola o código que aparece, autoriza no browser.

Sugestão: tudo em ~/ventures/emotion-studios/:

Terminal window
mkdir -p ~/ventures/emotion-studios
cd ~/ventures/emotion-studios

Todo mundo tem acesso a estes 3. Rode:

Terminal window
gh repo clone emotionstudios-git/registry
gh repo clone emotionstudios-git/operations
gh repo clone emotionstudios-git/knowledge-base
gh repo clone emotionstudios-git/knowledge

Roda só o da sua empresa:

VocêComando
Silas (Oinc)gh repo clone emotionstudios-git/oinc-filmes
Paulo (1BMG)gh repo clone emotionstudios-git/1bmg
Filipe (AdsVenture)gh repo clone emotionstudios-git/adsventure
João (Creator)gh repo clone emotionstudios-git/creator-reply e gh repo clone emotionstudios-git/creator-beats
Terminal window
ls ~/ventures/emotion-studios

Deve listar as pastas de cada repo que você clonou.

Terminal window
cd ~/ventures/emotion-studios/registry
git status

Deve mostrar:

On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean.

Primeiro pull + commit.