Difference between revisions of "Adicionando repositório GIT remoto"
From Basef
(Tag: VisualEditor) |
(Tag: VisualEditor) |
||
Line 9: | Line 9: | ||
<source lang="bash"> | <source lang="bash"> | ||
git remote set-url origin git@bitbucket.org:repositorio/projeto.git | git remote set-url origin git@bitbucket.org:repositorio/projeto.git | ||
− | </source | + | </source>[[Categoria:GIT]] |
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 23:48, 23 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