git status -> Show files that will be added (staged) in subdirectories

后端 未结 5 605
攒了一身酷
攒了一身酷 2020-12-23 02:28

Say I start a git repository in a folder, and I have several subdirectories in it.

I have several globbing patterns .gitignore to exclude files in the s

5条回答
  •  一个人的身影
    2020-12-23 03:20

    git ls-files -o --exclude-standard

    Every path in your worktree that isn't staged (-o) and won't be ignored by git add (--exclude-standard).

提交回复
热议问题