This will delete every tracked file that is ignored by .gitignore .
Add the standard Git exclusions: . git/info/exclude, .gitignore in each directory, and the user's global exclusion file.
$ git help clean git-clean - Remove untracked files from the working tree -n, --dry- run - Don't actually remove anything, just show what would be ...
If a filename in your project matches one of the patterns in the .gitignore file then Git won't attempt to track the file and it won't show up in the "Untracked files" list.
it is excluded. By default, tracked files are not shown at all since they are not subject to exclude rules; but see '--no-index'.
To list all the files currently being tracked under the branch master using: git ls- tree -r master --name-only. This command will list the files that ...
Note that Git LFS does not support negative patterns like .gitignore does.
Ignore files across all repos on your system; Ignore changes to committed files. Use gitignore to prevent tracking of files. Create a .gitignore file in ...
Ignored files are tracked in a special file named .gitignore that is checked in at the root of your repository. There is no explicit git ignore command: instead the ...
It contains globbing patterns that describe which files and directories