Sync settings between different devices – dotfiles


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
This site is for inclusion only, and the copyright belongs to the original author.