Mudanças entre as edições de "Adicionando repositório GIT remoto"

De Basef
Ir para: navegação, pesquisa
Linha 9: Linha 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><nowiki><source lang="php"></nowiki>
[[Categoria:GIT]]
+
 
 +
sdfsfds
 +
 
 +
<nowiki></source></nowiki>[[Categoria:GIT]]

Edição das 23h48min de 23 de abril de 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
<source lang="php">

sdfsfds

</source>