Re: I don't want the .git directory next to my code.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Dan McGee wrote:
On 01/15/2008 09:27 PM, Mike wrote:
How do I make the repository dir live somewhere else, the hell away from
my code? Thanks

mv .git <location to move to>
ln -s <location moved to> .git

Did you try this before you sent your email?

No, good idea. But it didn't work. When I git commit -a, I get "fatal: Not a git repository"

(And also even if that worked, it wouldn't work on an NTFS partiton, right...)

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux