--- 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 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up