How to ignore .gitignore and list all untracked files?

Member

by jerad , in category: Third Party Scripts , 8 months ago

How to ignore .gitignore and list all untracked files?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by darrion.kuhn , 8 months ago

@jerad 

To list all untracked files in a Git repository, you can use the following command:

1
git ls-files --others --exclude-standard


This command will list all untracked files in the repository, regardless of what is specified in the .gitignore file. It will display a list of all untracked files in the current directory and its subdirectories.

Related Threads:

How to ignore "?" directory in gitignore?
How to remove files from a folder in .gitignore?
How to add specific files in gitignore?
How to get list of mock files in dropzone.js?
How to delete old, untracked folders from git repository?
Why is multiple gitignore ignored?