git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Duy Nguyen <pclouds@gmail.com>
To: Javier Domingo Cansino <javierdo1@gmail.com>
Cc: Arup Rakshit <aruprakshit@rocketmail.com>,
	"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Can we stage all files using "git add" command, except some specific files ?
Date: Tue, 27 May 2014 05:24:56 +0700	[thread overview]
Message-ID: <CACsJy8B7TeeT-xOoZyPc6_LLEL-ugdgzbKf3FYci28f9eGrpvA@mail.gmail.com> (raw)
In-Reply-To: <CALZVapnUgEnw6rv630awF7AjnfhRzzK8H5wP6jTLN6XZGVJDEQ@mail.gmail.com>

On Tue, May 27, 2014 at 5:06 AM, Javier Domingo Cansino
<javierdo1@gmail.com> wrote:
> If you don't want an specific file, but you neither the .gitignore,
> just use .git/info/exclude file for project specific or
> $HOME/.config/git/ignore for user level.

This is actually better. 'git add' does not allow to specify exclude
patterns in command line (more convenient then editing .gitignore)
like ls-files. Perhaps we should add it for one-shot exclusion?

> Anyway, this is all in man gitignore
>
> [1] Git ignore man page: http://git-scm.com/docs/gitignore
> Javier Domingo Cansino
-- 
Duy

  reply	other threads:[~2014-05-26 22:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26 18:03 Can we stage all files using "git add" command, except some specific files ? Arup Rakshit
2014-05-26 20:23 ` Dennis Kaarsemaker
2014-05-26 19:27   ` Arup Rakshit
2014-05-26 22:06     ` Javier Domingo Cansino
2014-05-26 22:24       ` Duy Nguyen [this message]
2014-05-27  3:04       ` Arup Rakshit
2014-05-26 22:19 ` Duy Nguyen

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=CACsJy8B7TeeT-xOoZyPc6_LLEL-ugdgzbKf3FYci28f9eGrpvA@mail.gmail.com \
    --to=pclouds@gmail.com \
    --cc=aruprakshit@rocketmail.com \
    --cc=git@vger.kernel.org \
    --cc=javierdo1@gmail.com \
    /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).