随笔分类 -  版本管理

摘要:命令行:git clean -d -fx,作用是:删除没有git add 的文件 ,执行之后解决了 error: The following untracked working tree files would be overwritten by …的问题。 阅读全文
posted @ 2021-10-14 11:22 xianyongchao 阅读(209) 评论(0) 推荐(0)
摘要:解决方法1: 1.在git bash中输入:git pull --rebase origin master ;意为先取消commit记录,并且把它们临时保存为补丁(patch)(这些补丁放到”.git/rebase”目录中),之后同步远程库到本地,最后合并补丁到本地库之中。 2.重新push,仍然失 阅读全文
posted @ 2021-10-09 23:17 xianyongchao 阅读(1302) 评论(0) 推荐(0)