Sync settings between different devices – dotfiles

13bOkrO.png

I have encountered a problem, how do my work computer, personal computer, server synchronize some personal settings?

Because many configuration files are under the ~/ path, my initial approach is to maintain a git repository under the ~/ path, and then synchronize it between different machines. The problem with this is that this repository is “too big”, which means that all files under the ~/ path are visible to it, so it is more troublesome to maintain.

I learned about the concept of dotfiles when I recently read the Codespace documentation, and it can fully meet my needs.

This article is reprinted from https://bbing.com.cn/202210/summary-dotfiles/
This site is for inclusion only, and the copyright belongs to the original author.