--- tags: Git, disqus: hackmd --- # Git切換遠端 ``` $ git remote -v $ git remote set-url origin https://hostname/USERNAME/REPOSITORY.git ``` add remote ``` $ git remote add origin https://github.com/USER/REPO.git ``` http的網址 ``` https://[hostname]/USERNAME/REPOSITORY.git ``` SSH的網址 ``` git@hostname:USERNAME/REPOSITORY.git ```