git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How do you add an external directory to repository?
@ 2010-03-07 20:03 slipstream180
  2010-03-07 20:23 ` Fredrik Gustafsson
  2010-03-07 21:36 ` Nicolas Sebrecht
  0 siblings, 2 replies; 3+ messages in thread
From: slipstream180 @ 2010-03-07 20:03 UTC (permalink / raw)
  To: git


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-07 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-07 20:03 How do you add an external directory to repository? slipstream180
2010-03-07 20:23 ` Fredrik Gustafsson
2010-03-07 21:36 ` Nicolas Sebrecht

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).