git remote use

1. Ajouter un entrepôt distant

git remote add origin https://github.com/user/repo.git

2. Afficher l'entrepôt distant

git remote -v

3. Modifiez l'URL du référentiel distant, ssh-> https

git remote set-url origin https://github.com/USERNAME/REPOSITORY.git

4. Renommez l'entrepôt distant

git remote rename origin destination

5. Supprimez l'entrepôt distant

git remote rm destination

Je suppose que tu aimes

Origine www.cnblogs.com/tomtellyou/p/12713004.html
conseillé
Classement