I'm looking for a command similar to the following, but that always lists from the repository root, rather than the current working directory:
git ls-files --cached --others --exclude-standard
If possible I'd rather not use bash/batch, since I'm looking for a cross-platform solution.
If Git aliases aren't an option, it can be done in 2 commands:
git ls-files $(git rev-parse --show-toplevel)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With