Re: list all the untrack files in a git respo
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 4, 2008, 14:19 UTC
- Message-ID
- <m3abi1z3if.fsf@localhost.localdomain>
- In-Reply-To
- <75b57c110806040705mc324d9dx9ce099593ce967dd@mail.gmail.com>
"Gerb Stralko" <gerb.stralko@gmail.com> writes:
> Is there a way to list only the untracked files in git? git status > works, but i need to do some parsing in order to get a list of > untracked files. Something like git status --show-only-untracked?
git-status is porcelain, meant for human consumption. For list of untracked files use
$ git ls-files --other --exclude-standard
-- Jakub Narebski Poland ShadeHawk on #git