From: slipstream180 <ivan.barrios@gmail.com>
To: git@vger.kernel.org
Subject: How do you add an external directory to repository?
Date: Sun, 7 Mar 2010 12:03:49 -0800 (PST) [thread overview]
Message-ID: <1267992229319-4691734.post@n2.nabble.com> (raw)
I want to add an external directory to an existing repository.
External Dir: /home/some/directory
Working Dir: /htdocs/.git
If I attempt the following command from the /htdocs dir:
git add /home/some/directory
I get an error: fatal: '/home/some/directory' is outside repository
I understand that I can add a symbolic link to /home/some/directory, but I
believe that only track the link. How do I track all files under the
directory as well?
Thanks in advance!
--
View this message in context: http://n2.nabble.com/How-do-you-add-an-external-directory-to-repository-tp4691734p4691734.html
Sent from the git mailing list archive at Nabble.com.
next reply other threads:[~2010-03-07 20:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-07 20:03 slipstream180 [this message]
2010-03-07 20:23 ` How do you add an external directory to repository? Fredrik Gustafsson
2010-03-07 21:36 ` Nicolas Sebrecht
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=1267992229319-4691734.post@n2.nabble.com \
--to=ivan.barrios@gmail.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).