赞
踩
初始化git仓库: git init
添加至暂存器:git add .
报错:类的名字过长
解决:修改.git/config 在[core] 下加一条 longpaths = true
报错:error: 'spring-boot-project/' does not have a commit checked out
解决:原因是在 xxx/
文件夹下有隐藏文件,删除掉即可
push到远程仓库: git push -u origin master
报错:Failed to connect to 127.0.0.1 port 7890 after 2055 ms: Connection refused
解决: 将远程仓库http改成Git
删除远程仓库:
git remote rm origin
查看远程信息:git remote -v
原文:git add 文件出现的错误error: ‘xxx/‘ does not have a commit checked out 解决方法_茉莲晨曦的博客-CSDN博客cc
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。