... | ... | @@ -10,6 +10,7 @@ Pour otenir la liste des dépôts distants à renommer: |
|
|
`git remote -v`
|
|
|
|
|
|
```
|
|
|
> git remote -v
|
|
|
# retourne pour le projet howtogitlab.wiki (en ssh)
|
|
|
# nom du dépôt distant et son URL
|
|
|
origin git@gitlab.paca.inra.fr:biosp/howtogitlab.wiki.git (fetch)
|
... | ... | @@ -25,12 +26,12 @@ On va modifier le dépôt distant __origin__ pour qu'il pointe sur la nouvelle U |
|
|
# git remote set-url <nom_du_depot_distant> <git@gitlab.paca.inrae.fr:<namespaces>/nom_du_projet>.git
|
|
|
# git remote set-url <nom_du_depot_distant> <https://gitlab.paca.inrae.fr/<namespaces>/nom_du_projet>.git
|
|
|
|
|
|
git remote set-url origin git@gitlab.paca.inrae.fr:biosp/howtogitlab.wiki.git
|
|
|
> git remote set-url origin git@gitlab.paca.inrae.fr:biosp/howtogitlab.wiki.git
|
|
|
```
|
|
|
|
|
|
Vérification des modifications:
|
|
|
```
|
|
|
git remote -v
|
|
|
> git remote -v
|
|
|
|
|
|
# retourne pour le projet howtogitlab.wiki (en ssh)
|
|
|
origin git@gitlab.paca.inrae.fr:biosp/howtogitlab.wiki.git (fetch)
|
... | ... | |