From: Dennis Kaarsemaker <dennis@kaarsemaker.net>
To: Arup Rakshit <aruprakshit@rocketmail.com>
Cc: git@vger.kernel.org
Subject: Re: Can we stage all files using "git add" command, except some specific files ?
Date: Mon, 26 May 2014 22:23:22 +0200 [thread overview]
Message-ID: <1401135802.25483.1.camel@spirit> (raw)
In-Reply-To: <8392138.j8Dle5WGbS@linux-wzza.site>
On di, 2014-05-27 at 00:33 +0630, Arup Rakshit wrote:
>
> Now, you can see, I have staged all the files first using *git add
> -A*, then _unstaging_ those I don't want to _stage_ right now. Now can
> this be done, in the *staging* time ? I mean any way to tell `git add`
> command, that add all the files from the current directory, except
> some specific files.
No, there is no such option to do that, but you could use git add
--interactive and use its interface to quickly pick the files you want
to add.
--
Dennis Kaarsemaker
www.kaarsemaker.net
next prev parent reply other threads:[~2014-05-26 20:23 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 [this message]
2014-05-26 19:27 ` Arup Rakshit
2014-05-26 22:06 ` Javier Domingo Cansino
2014-05-26 22:24 ` Duy Nguyen
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=1401135802.25483.1.camel@spirit \
--to=dennis@kaarsemaker.net \
--cc=aruprakshit@rocketmail.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).