git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Taylor Blau <me@ttaylorr.com>
To: Another Email <yetanotheroneemail@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Issue when adding new files to staged changes using interactive mode
Date: Fri, 31 Jul 2020 15:51:14 -0400	[thread overview]
Message-ID: <20200731195114.GA3409@syl.lan> (raw)
In-Reply-To: <5BDF4B85-7AC1-495F-85C3-D429E3E51106@gmail.com>

On Wed, Jul 29, 2020 at 12:10:19AM +0100, Another Email wrote:
> Thank you for filling out a Git bug report!
> Please answer the following questions to help us understand your issue.
>
> What did you do before the bug happened? (Steps to reproduce your issue)
> git init test
> cd test
> echo "test" > test.txt
> git add -AN

Passing '-A' to 'git add' is the problem. See the discussion further
down in the thread for why this is the case. Whether or not this is a
good thing, this will do what you want without '-A' (that is, by running
'git add -N' instead).

Thanks,
Taylor

      parent reply	other threads:[~2020-07-31 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 23:10 Issue when adding new files to staged changes using interactive mode Another Email
2020-07-29 18:58 ` Raymond E. Pasco
2020-07-29 21:30   ` Raymond E. Pasco
2020-07-29 22:33     ` Another Email
2020-07-31 19:51 ` Taylor Blau [this message]

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200731195114.GA3409@syl.lan \
    --to=me@ttaylorr.com \
    --cc=git@vger.kernel.org \
    --cc=yetanotheroneemail@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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).