How do you add an external directory to repository?
- From
- slipstream180 <ivan.barrios@gmail.com>
- Date
- Mar 7, 2010, 20:03 UTC
- Message-ID
- <1267992229319-4691734.post@n2.nabble.com>
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.