DEV Community

Discussion on: How I Backup/Sync my Dotfiles & Apps

Collapse
 
loirotte profile image
Philippe Dosch • Edited

Yep, you're right, I misspoke :-) I described the technical steps instead of the conceptual ones (as you initially add your files to a blacklist). Nevertheless, the facts are still there with your workflow: if you insert in your home a new file, independent of your project, you will have to add it to the .gitignore. However, as it is independent it shouldn't involve side effect on your project.

vcsh has been developed for this kind of purposes and helps you to keep a clean workflow. And if you have several repos in your home (for my own, I have an emacs repo, a zsh repo, etc.), you can couple it with mr (multiple repositories) in order to manage them more efficiently.

Thread Thread
 
biros profile image
Boris Jamot ✊ /

No, if I insert a new file in my home, it will be automatically ignored by my git config.

Thread Thread
 
loirotte profile image
Philippe Dosch

Oups, it's echo "*" and not echo * :-)