git版本库常用命令
1、删除已有的.git文件:
find . -name “.git” | xargs rm -Rf
2、重新初始化git,建立新的git库
git init
3、添加代码到git库
git add .f
4、提交到本地版本库
git commit -m “创建版本库”
git版本库常用命令
1、删除已有的.git文件:
find . -name “.git” | xargs rm -Rf
2、重新初始化git,建立新的git库
git init
3、添加代码到git库
git add .f
4、提交到本地版本库
git commit -m “创建版本库”