With extra bonus: write an installer script that symlinks the files to the correct place. Use Ansible, plain old Bash, or Python depending on your preference.
I’m waffling between that or just setting up a bare git repo. Am prepping a VM or two to explore the pros/cons of each approach and to dive into the implications.
It’s funny - this project idea seems to free bubbling up everywhere this past week. I’m sure I’m seeing the consequences of search algorithms, but on Lemmy, it’s nice to see what is a definite and pleasant coincidence.
That is the next item on my to-do list. I’ve already installed my own gitea container to run at home. Yes, I could use a public repo (set private) but I wanted I learn how to do this and besides, I wanted to cast a wider net for which files to store but not worry about inadvertently publishing something with passwords embedded…
I didn’t really see the benefit of this besides having a snapshot or backup of my home folder for my use case (I don’t have that many config/text files that needs tracking), but I can recommend chezmoi for those interested.
Create a dotfiles repo in git. Gives you a way to track changes to your .bashrc or .zshrc
With extra bonus: write an installer script that symlinks the files to the correct place. Use Ansible, plain old Bash, or Python depending on your preference.
Or GNU stow.
I’m waffling between that or just setting up a bare git repo. Am prepping a VM or two to explore the pros/cons of each approach and to dive into the implications.
It’s funny - this project idea seems to free bubbling up everywhere this past week. I’m sure I’m seeing the consequences of search algorithms, but on Lemmy, it’s nice to see what is a definite and pleasant coincidence.
When in doubt always do a
git init .
and a git add, git commit every once in a while. You’ll never regret it.https://github.com/thoughtbot/rcm
rcm will do symlinking for you and is pretty awesome. Been using it for this purpose for years
That is the next item on my to-do list. I’ve already installed my own gitea container to run at home. Yes, I could use a public repo (set private) but I wanted I learn how to do this and besides, I wanted to cast a wider net for which files to store but not worry about inadvertently publishing something with passwords embedded…
I didn’t really see the benefit of this besides having a snapshot or backup of my home folder for my use case (I don’t have that many config/text files that needs tracking), but I can recommend chezmoi for those interested.