1 git删除远端仓库
今日,记一下,删除远端仓库,比如:远端仓库已经存在,这时push就会失败,这是可以考虑删除远端仓库
下面,分享下
- 首先,找到已存在的仓库,点击Setting
- 拉到最后,删除仓库,填入仓库名字即可
2 git删除本地仓库
直接删除.git隐藏文件夹
rm -rf .git/
3 ERROR: make sure you configure your user.name and user.email in git
添加自己的信息,如在终端中输入即可
git config --global user.email “you@example.com”
git config --global user.name “Your Name”