Mudanças entre as edições de "Adicionando repositório GIT remoto"
De Basef
| 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><nowiki>< | + | </source> |
| + | |||
| + | fwfwewf | ||
| + | |||
| + | <nowiki><syntaxhighlight lang="bash"></nowiki> | ||
| + | |||
| + | git remote add origin git@bitbucket.org:repositorio/projeto.git | ||
| + | |||
| + | <nowiki></syntaxhighlight></nowiki>[[Categoria:GIT]] | ||
Edição das 01h10min de 24 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
fwfwewf
<syntaxhighlight lang="bash">
git remote add origin git@bitbucket.org:repositorio/projeto.git
</syntaxhighlight>