git ls-files --others --exclude-standard git status --porcelain
在git add 之后
git diff --name-only --diff-filter=A --cached # All new files in the index git diff --name-only --diff-filter=A # All files that are not staged git diff --name-only --diff-filter=A HEAD # All new files not yet committed