Difference between revisions of "Adicionando repositório GIT remoto"
From Basef
(Tag: VisualEditor) |
|||
Line 3: | Line 3: | ||
<source lang="bash"> | <source lang="bash"> | ||
git remote add origin git@bitbucket.org:repositorio/projeto.git | git remote add origin git@bitbucket.org:repositorio/projeto.git | ||
− | </source>Caso já exista um repositório remoto, para mudar para um novo: | + | </source> |
+ | |||
+ | Caso já exista um repositório remoto, para mudar para um novo: | ||
<source lang="bash"> | <source lang="bash"> |
Revision as of 23:25, 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