D:\JAVA\projects\syxwall-parent>git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .gitignore
modified: log/backend/normal/normal.log
modified: log/backend/sql/sql.log
modified: log/mirai/normal/normal.log
deleted: syxwall-backend/syxwall-backend-web/src/main/java/com/syxgo/syxwall/backend/web/controller/FallbackController.java
modified: syxwall-mirai/syxwall-mirai-api/src/main/java/com/syxgo/syxwall/mirai/api/MiraiRobotApis.java
no changes added to commit (use "git add" and/or "git commit -a")
D:\JAVA\projects\syxwall-parent>git reset HEAD log/backend/normal/normal.log
Unstaged changes after reset:
M .gitignore
M log/backend/normal/normal.log
M log/backend/sql/sql.log
M log/mirai/normal/normal.log
D syxwall-backend/syxwall-backend-web/src/main/java/com/syxgo/syxwall/backend/web/controller/FallbackController.java
M syxwall-mirai/syxwall-mirai-api/src/main/java/com/syxgo/syxwall/mirai/api/MiraiRobotApis.java
normal.log 出现在 Unstaged changes after reset: 就 TM 离谱
为什么啊?
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.