我有一个本地 git 存储库并且有几个修改过的文件。然后我需要快速修复某些东西,所以我
这导致了冲突。
# On branch master
$ git stash pop
Auto-merging page/search.php
CONFLICT (content): Merge conflict in page/search.php
$ git status
# On branch master
# Unmerged paths:
# (use "git reset HEAD <file>..." to unstage)
# (use "git add/rm <file>..." as appropriate to mark resolution)
#
# both modified: page/search.php
Run Code Online (Sandbox Code Playgroud)
如果我尝试清理更改并重新应用存储,则会发生同样的事情(冲突)。我不太关心 page/search.php,但我想从 stash 中取出其他文件。
有没有办法将 stash 转换为补丁,或者只是获取隐藏时的文件?