Я внес некоторые изменения в несколько файлов.Когда я захотел спрятать:
git stash
Я получил сообщение об ошибке, как показано ниже:
fatal: f89cf6f6dae11b4fa28fea6e8ac8e272782c5995 is not a valid object
Cannot record working tree state
При проверке статуса:
git status
он дал мне:
Your branch is ahead of 'origin' by 1 commit.
(use "git push" to publish your local commits)
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: file1
modified: file2
modified: file3
Untracked files:
(use "git add <file>..." to include in what will be committed)
fileA
fileB
dirA/
no changes added to commit (use "git add" and/or "git commit -a")
Я знаю, что есть способ использовать , но есть ли способ с stash?или другой способ отложить изменения, а затем вытащить из источника.Спасибо.