From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: sylvain@demarque.qc.ca
Cc: git@vger.kernel.org
Subject: Re: Git: "No you can't handle my root!" (?)
Date: Mon, 12 Oct 2009 21:02:08 +0200 [thread overview]
Message-ID: <vpqfx9oxwpb.fsf@bauges.imag.fr> (raw)
In-Reply-To: <20091012012826.7sffggwmm8sk0cc8@webmail.demarque.qc.ca> (sylvain@demarque.qc.ca's message of "Mon\, 12 Oct 2009 01\:28\:26 -0400")
sylvain@demarque.qc.ca writes:
> localhost / # cd etc
> localhost etc # git add X11/xorg.conf
> fatal: pathspec 'etc/X11/xorg.conf' did not match any files
cd ..
git add etc/X11/xorg.conf
works. I don't know why the other doesn't (just tested adding from an
untracked directory in another project, it does work).
If you want to version a large directory like /, I'd advise putting
"*" in /.gitignore to make sure Git never tries to traverse the whole
filesystem.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
next prev parent reply other threads:[~2009-10-12 19:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 5:28 Git: "No you can't handle my root!" (?) sylvain
2009-10-12 17:59 ` sylvain
2009-10-12 18:06 ` Steven Noonan
2009-10-12 18:15 ` Alex Riesen
2009-10-12 18:20 ` sylvain
2009-10-12 18:30 ` Alex Riesen
2009-10-12 18:35 ` Jeff King
2009-10-12 19:08 ` sylvain
2009-10-13 17:46 ` Tony Finch
2009-10-12 18:30 ` Markus Heidelberg
2009-10-12 19:02 ` Matthieu Moy [this message]
2009-10-12 21:37 ` Daniele Segato
2009-10-12 21:57 ` Avery Pennarun
2009-10-12 22:04 ` sylvain
2009-10-13 1:43 ` Jeff King
2009-10-13 4:17 ` Daniele Segato
2009-10-13 5:01 ` Jeff King
2009-10-15 3:02 ` Wesley J. Landaker
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=vpqfx9oxwpb.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=sylvain@demarque.qc.ca \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.