Git 远程仓库相关的命令

2018年03月26日

在本地目录下关联远程仓库

git remote add origin git@github.com:git_username/repository_name.git

取消本地目录下关联的远程库

git remote remove origin

列出远程仓库地址

git remote -v