public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: KES <kes-kes@yandex•ua>
To: git <git@vger•kernel.org>
Subject: Can not 'git add file'
Date: Sun, 03 Jan 2016 16:53:11 +0200	[thread overview]
Message-ID: <1500251451832791@web17m.yandex.ru> (raw)

Hi.

How to reproduce

$ git-number
On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

1	modified:   ../lib/Devel/DebugHooks.pm
2	modified:   ../lib/Devel/KillPrint.pm
3	modified:   00-simple.t

Untracked files:
  (use "git add <file>..." to include in what will be committed)

4	../lib/Devel/DebugHooks/
5	../lib/Devel/ImportArgs.pm
6	../lib/Devel/KillPrintTest.pm
7	../lib/Devel/KillPrint_scope.pm
8	../lib/Devel/PkgAtCompileTime.pm
9	../lib/Devel/t.pl
10	lib/Devel/AutoInit.pm
11	lib/Devel/DZVii.pm

no changes added to commit (use "git add" and/or "git commit -a")
$ git add -p ../lib/Devel/DebugHooks/Commands.pm 
No changes.

I want to start track file here, but I do not want to stage while file.

It seems the git can not process this case and do not allow me to complete that.

             reply	other threads:[~2016-01-03 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-03 14:53 KES [this message]
2016-01-03 16:20 ` Can not 'git add file' Dennis Kaarsemaker

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=1500251451832791@web17m.yandex.ru \
    --to=kes-kes@yandex$(echo .)ua \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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