From: Johan Herland <johan@herland.net>
To: "Gerb Stralko" <gerb.stralko@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: list all the untrack files in a git respo
Date: Wed, 4 Jun 2008 16:20:54 +0200 [thread overview]
Message-ID: <200806041620.54890.johan@herland.net> (raw)
In-Reply-To: <75b57c110806040705mc324d9dx9ce099593ce967dd@mail.gmail.com>
On Wednesday 04 June 2008, Gerb Stralko wrote:
> 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?
Is
git ls-files -o
what you want?
(Depending on your use case, you might also find the --exclude-standard
and --directory options useful as well. See the git-ls-files manual
page for details)
...Johan
--
Johan Herland, <johan@herland.net>
www.herland.net
next prev parent reply other threads:[~2008-06-04 14:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-04 14:05 list all the untrack files in a git respo Gerb Stralko
2008-06-04 14:19 ` Jakub Narebski
2008-06-04 14:20 ` Johan Herland [this message]
2008-06-04 14:41 ` Gerb Stralko
2008-06-04 15:55 ` Michael J Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200806041620.54890.johan@herland.net \
--to=johan@herland.net \
--cc=gerb.stralko@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.