• git ls-files

    git ls-files

    1. # 列出没有被.gitignore忽视的文件
    2. $ git ls-files --other --ignored --exclude-standard