How to use Github to manage dotfiles?

前端 未结 7 775
萌比男神i
萌比男神i 2020-12-24 13:08

I stored my dotfiles in github, with lots pains, because of no automation. I have to update it myself.

Is there a way that can auto install/update/sync dotfiles? I m

7条回答
  •  被撕碎了的回忆
    2020-12-24 13:39

    The main idea is having a separated directory (usually called .dotfiles) with all the real dotfiles which you want to keep track in git and having symbolic links in the home directory.

    There is already a lot of work done for this approach so I will recommend you to check DFM (dotfiles manager):

    • Here is my dotfiles selection using dfm (you can consider it an example): vicente's dotfiles
    • Github official repository DFM site

提交回复
热议问题