1.在本地目录下关联远程repository :

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

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

git remote remove origin


版权声明:本文为wsycsdn19930512原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/wsycsdn19930512/article/details/50574217