Difference between revisions of "Adicionando repositório GIT remoto"
From Basef
(Tag: VisualEditor) |
(Tag: VisualEditor) |
||
Line 11: | Line 11: | ||
</source> | </source> | ||
− | + | <nowiki><syntaxhighlight lang="bash"></nowiki> | |
− | + | git remote add origin git@bitbucket.org:repositorio/projeto.git | |
− | + | <nowiki></syntaxhighlight></nowiki>[[Categoria:GIT]] | |
− | + | ||
− | + |
Revision as of 00:15, 24 April 2015
Partindo de um diretório que ainda não esteja apontando para um repositório GIT:
git remote add origin git@bitbucket.org:repositorio/projeto.git
Caso já exista um repositório remoto, para mudar para um novo:
git remote set-url origin git@bitbucket.org:repositorio/projeto.git
<syntaxhighlight lang="bash">
git remote add origin git@bitbucket.org:repositorio/projeto.git
</syntaxhighlight>