Git
5210丫
谦卑,对知识有一颗敬畏之心!
展开
-
git提交报错(远程仓库修改文件)
提交报错:! [rejected] master -> master (fetch first) error: failed topush some refs to 'https://gite使用 git pull 同步仓库出现! [rejected] master -> master (non-fast-forward) error: failedto push some refs to 'https:/解决:git pull origin m原创 2021-12-04 14:51:32 · 184 阅读 · 0 评论 -
git错误操作导致代码丢失找回
git reset --hard(这个坑爹的指令)由于有用git add .所有可以用git fsck --lost-found在项目git目录下的 /.git/lost-found/other里有你add过的文件,用编程软件查看,把它改名xxx.java之类的还有一个就是:find .git/objects -type f | xargs ls -lt | sed 60...原创 2020-01-18 11:38:30 · 1122 阅读 · 0 评论 -
Git clone时出现Please make sure you have the correct access rights and the repository exists.问题已解决。
参考文章https://www.cnblogs.com/cnlg123/p/7762889.html转载 2019-10-15 20:42:12 · 315 阅读 · 0 评论