1.在本地目录下关联远程repository :
git remote add origin git@github.com:git_username/repository_name.git
2.取消本地目录下关联的远程库:
git remote remove origin
3.本地文件夹断开git链接:
右键文件夹 :find . -name ".git" | xargs rm -Rf
1.在本地目录下关联远程repository :
git remote add origin git@github.com:git_username/repository_name.git
2.取消本地目录下关联的远程库:
git remote remove origin
3.本地文件夹断开git链接:
右键文件夹 :find . -name ".git" | xargs rm -Rf