Mod*_*e77 11 git git-for-windows
我使用git换窗户v2.16.0和遇到以下问题,ALSE报道在这里:
我最初的工作状态很干净; 输出'git status':
git status
On branch beta
nothing to commit, working tree clean
Run Code Online (Sandbox Code Playgroud)
然后我进行局部更改.产量git status
:
git status
On branch beta
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: app/src/main/java/android_serialport_api/sample/Debug.java
no changes added to commit (use "git add" and/or "git commit -a")
Run Code Online (Sandbox Code Playgroud)
然后我用'git stash'藏匿它们:
git stash
Saved working directory and index state WIP on beta: 2fca403 working on the console
Run Code Online (Sandbox Code Playgroud)
现在我的工作目录应该是干净的,但输出git status
仍然是:
git status
On branch beta
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: app/src/main/java/android_serialport_api/sample/Debug.java
no changes added to commit (use "git add" and/or "git commit -a")
Run Code Online (Sandbox Code Playgroud)
(导致无法git checkout
等等