马会东的博客

马会东的博客

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2022年11月8日

摘要: 一、撤销修改(git add/rm 之前) 1 2 git checkout -- * //是撤销从上次提交之后所做的所有修改 git checkout -- filaname //是撤销从上次提交之后的单个文件的修改 二、git add/rm 之后,还未git commit 情况一: 从暂存区撤出 阅读全文
posted @ 2022-11-08 08:29 马会东 阅读(775) 评论(0) 推荐(0) 编辑

摘要: git status 时除了显示自己修改的文件,还多了两个文件,显示如下:untracked files:(use "git add <file>..." to include in what will be commited)bash.exe.stackdumpsh.exe.stackdump 解 阅读全文
posted @ 2022-11-08 08:28 马会东 阅读(678) 评论(0) 推荐(0) 编辑