git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Q] Tell Git to follow symlinks?

From
Remi Vanicat <vanicat@debian.org>
Date
Feb 24, 2008, 15:08 UTC
Message-ID
<87zltq2xzn.dlv@maison.homelinux.org>
In-Reply-To
<c6c947f60802240305w40a7af96yc47f90e573384c04@mail.gmail.com>
"Alexander Gladysh" <agladysh@gmail.com> writes:
> I thought to construct my repo of the number of symlinks to other
> places, but apparently Git does not follow any simlinks.

Hope so, I use this feature, for example to manage my debian alternatives.

> Please give me some directions on the building such dumb backup
> system I want :)

I use "reverse" symlinks: the files i want to manage are replaced by symlink to the file that is in then git repository:

my home contain:

.abbrev_defs -> .myconfig/abbrev_defs .bash_logout -> .myconfig/bash_logout .bash_profile -> .myconfig/bash_profile .bashrc -> .myconfig/bashrc .custom -> .myconfig/custom .dircolors -> .myconfig/dircolors .emacs -> .myconfig/emacs .gnomerc -> .myconfig/gnomerc .gnus -> .myconfig/gnus .irssi -> .myconfig/irssi/ .profile -> .myconfig/profile .ScrollZ -> .myconfig/ScrollZ/ .scrollzrc -> .myconfig/scrollzrc .xchat2 -> .myconfig/xchat2/

and a .myconfig git repository that manage those file.
-- 
Rémi Vanicat
Previous: Alexander GladyshNext: Alexander Gladysh
Message 2 of 6 in “[Q] Tell Git to follow symlinks?”
  1. Alexander GladyshFeb 24, 2008
  2. Remi VanicatFeb 24, 2008
  3. Alexander GladyshFeb 24, 2008
  4. David TweedFeb 25, 2008
  5. Jakub NarebskiFeb 25, 2008
  6. Matthieu MoyFeb 25, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.