我使用后,git stash不会显示未跟踪的文件git stash save -u:
D:\kzxd-usm\KzxdUsm>git status
Already up-to-date!
# On branch work
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# WebRoot/WEB-INF/jsp/usm/org/Copy of list.jsp
nothing added to commit but untracked files present (use "git add" to track)
Run Code Online (Sandbox Code Playgroud)
我想列出未跟踪的文件,并将其保存为git stash save -u:
D:\kzxd-usm\KzxdUsm>git stash list --stat
stash@{0}: On work: hide copy of list.jsp
Run Code Online (Sandbox Code Playgroud)
它只有一点注释文本,没有隐藏的文件信息。
git ×1