git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
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, 04 Jun 2008 07:19:48 -0700 (PDT)	[thread overview]
Message-ID: <m3abi1z3if.fsf@localhost.localdomain> (raw)
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

  reply	other threads:[~2008-06-04 14:20 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 [this message]
2008-06-04 14:20 ` Johan Herland
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=m3abi1z3if.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).