1. 程式人生 > >git中本地與遠端庫的關聯與取消

git中本地與遠端庫的關聯與取消

1.在本地目錄下關聯遠端repository :

git remote add origin [email protected]:git_username/repository_name.git

2.取消本地目錄下關聯的遠端庫:

git remote remove origin