Re: [Q] Tell Git to follow symlinks?

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

 



"Alexander Gladysh" <agladysh@xxxxxxxxx> 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
-
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