git 删除 repository
打开版本库,选择要删除的repository
点击Settings
找到删除选项
输入repository name,点击delet……
删除本地仓库
- 执行git init命令
- 在本地目录下找到.git文件
- 删除.git
- 删除本地仓库目录文件
$$ MINGW32 ~ $ cd c:/PycharmProjects/test $$ MINGW32 ~/PycharmProjects/test (master) $ pwd /c/Users/china/PycharmProjects/test $$ MINGW32 ~/PycharmProjects/test (master) $ git init Reinitialized existing Git repository in c:/PycharmProjects/test/.git/ $$ MINGW32 ~/PycharmProjects/test (master) $ ls -a ./ ../ .git/ .idea/ __pycache__/ log/ ops.log README.md utils/ $$ MINGW32 ~/PycharmProjects/test (master) $ rm -rf .git $$ MINGW32 ~/PycharmProjects/test $ ls __pycache__/ log/ ops.log README.md utils/ $$ MINGW32 ~/PycharmProjects/test $ rm -rf *
原文地址:https://www.cnblogs.com/xiao-apple36/p/9081490.html
时间: 2024-11-06 17:22:58