I would like to list all files that are not ignored by .gitignore, ie all source files of my repository.
ag
does it well by default, but I'm not aware of an approach that works without installing additional software.
git ls-files
without options works almost well but doesn't take into account the files that have been modified/created, for example if I create a new file bar without commiting it, git ls-files
doesn't show that file.
ag -l
? – Fulfill