Skip to content

Instantly share code, notes, and snippets.

@marciofmjr
Created October 10, 2021 20:05
Show Gist options
  • Save marciofmjr/e959af1263020737d5773b51f4ee0a9a to your computer and use it in GitHub Desktop.
Save marciofmjr/e959af1263020737d5773b51f4ee0a9a to your computer and use it in GitHub Desktop.
# Exibir endereços remotos vinculados ao repositório
git remote -v
# Adicionar endereço remoto
git remote add NOME_REMOTO ENDERECO_REMOTO
# Exemplo:
git remote add origin git@github.com:angular/angular.git
# Remover endereço remoto
git remote rm NOME_REMOTO
# Exemplo:
git remote rm origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment