Listing untracked files with git status
When a new directory is added to a git repository, only the directory itself will be listed as an untracked file in the output from git status
:
Use the --untracked-files
(-u
) flag to list individual untracked files within the directory:
Source: man git-status
Last updated