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

后端 未结 5 601
攒了一身酷
攒了一身酷 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:29

    use git command git ls-files -o to list untracked file

    instead -o use -c --cached Show cached files in the output (default)

    -d --deleted Show deleted files in the output

    -m --modified Show modified files in the output

提交回复
热议问题