이전에 숨김을 적용하거나 적용 할 때 이러한 현상이 발생합니다. 현재 지점에는 이미 이러한 변경 사항이 있습니다. 다음과 같은 시나리오를 생각해보십시오 :
$ git diff
diff --git a/test.txt b/test.txt
index e69de29..9daeafb 100644
--- a/test.txt
+++ b/test.txt
@@ -0,0 +1 @@
+test
$ git stash
Saved working directory and index state WIP on master: b1d46d2 test.txt
HEAD is now at b1d46d2 test.txt
이제 우리는 손으로 그 라인을 다시 추가하고 커밋 :
$ git diff
diff --git a/test.txt b/test.txt
index e69de29..9daeafb 100644
--- a/test.txt
+++ b/test.txt
@@ -0,0 +1 @@
+test
$ git commit -a
[master 8efb415] test.txt
1 files changed, 1 insertions(+), 0 deletions(-)
$ git stash list
[email protected]{0}: WIP on master: b1d46d2 test.txt
$ git stash apply [email protected]{0}
# On branch master
nothing to commit (working directory clean)
을 여기 git stash apply
는 아무것도 실시하지 않습니다.
'git stash list'와'git status'의 출력을 게시 할 수 있습니까? –
나는 이런 생각을하는 데 실수를 저질렀습니다. 어떤 식 으로든 나는 그 변화를 기억하고 수동으로 코딩을했습니다 ... 도와 줘서 고마워. 이 질문을 끝내기 위해 나 자신의 투표 – kumar