1.添加远程仓库
git add remote origin url
origin为远程仓库名,url为远程仓库链接
2.删除本地文件夹与远程仓库的关联
git remote rm origin
origin为关联仓库名
3.查看关联远程仓库
git remote #查看远程仓库名
git remote -v #查看关联的远程仓库的详细信息
4.删除远程仓库
git remote rm origin
origin为仓库名
5.Git Bush中文乱码
(1).在终端空白处,右键单击,在弹出的菜单中选择[Options...]
(2).在弹出的菜单中找到[Text] --> [Local],在下拉菜单中选择'zh_CN';找到[Character set],在下拉菜单中选择'UTF-8'
(3).点击Apply,Save
(4).执行命令:git config --global core.quotepath false
(5).再执行:git status,中文乱码就不见了