threads / discuss / 23892

git support for symbolic link?

Subject: git support for symbolic link?

## tl;dr

2 messages between May 24, 2010 and May 24, 2010.

replies: 1people: 2as markdown or json

Peng Yu· May 24, 2010, 19:26 UTC · lore

For some reason, I need to create symbolic link in my source directory. When the directory structure is changed, I have some tools to fix broken links.

I'm wondering if git support symbolic links.
-- 
Regards,
Peng
Shawn O. Pearce· May 24, 2010, 19:29 UTC · re: Peng Yu · lore

Re: git support for symbolic link?

Peng Yu <pengyu.ut@gmail.com> wrote:
> I'm wondering if git support symbolic links.

Yes. Git stores the path the symlink points to, and restores the symlink to have the same target path when the "file" is checked out on another system.

-- 
Shawn.

← back to recent threads