Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Como alterar a origin para enviar os arquivos para repositório em novo endereço #182

Open
marcoxavier2005 opened this issue Jul 12, 2021 · 1 comment

Comments

@marcoxavier2005
Copy link

Há duas formas de alterar a origin. A primeira é:

Remove a origin com:

git remote remove origin

E adicionar outra com:

git remote add origin git://suaUrl

A segunda forma é alterar diretamente assim:

git remote set-url origin git://suaUrl

O caso está relatado em: https://pt.stackoverflow.com/questions/39806/alterando-caminho-remoto-no-git

@marcoxavier2005 marcoxavier2005 changed the title Como alterar a origin para enviar o repositório para novo endereço Como alterar a origin para enviar os arquivos para repositório em novo endereço Jul 12, 2021
@msscsh
Copy link

msscsh commented Feb 23, 2024

About the issue:
I believe it should be better to talk in English to facilitate the dynamics of discussions.

About the suggestion:
You would need to bring a reliable source, in this case, the documentation for the tool itself. At the same time, I also agree that this is a solution to the origin switching problem.

Could you add an excerpt from the official documentation? Otherwise, give us more time and we’ll see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants