dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

How to publish customizations to Github?

Open samvdb opened this issue 3 months ago • 3 comments

Hi,

I would like to backup my customizations to github, what is the best way to keep everything working after updates?

For example, I created a custom.conf in ~/.mydotfiles/com.ml4w.dotfiles.stable/.config/kitty

If i create a git repository inside ~/.mydotfiles/com.ml4w.dotfiles.stable/, I would create issues when running this on a new machine.

Can i create my own dotfile config that "inherits" the ml4w dotfile and adds my custom files?

Thanks

samvdb avatar Sep 17 '25 13:09 samvdb

One way of doing this is: You install the new update localy and restore your custom configs during update using the dotfiles installer and then push the local configs to the github, manually or via a script. I think this is the easiest and simplest way of doing this without breaking the system.

Affanmm avatar Sep 18 '25 04:09 Affanmm

I will launch very soon a video series about my workflow. This will cover your questions. In general. You create a GitHub repository, cone it into a Projects folder and create a dev .dotinst file similar to https://github.com/mylinuxforwork/dotfiles/tree/main/dev

Then you can install it with the Dotfiles Installer and sync with enabled dev tools in the Dotfiles Installer.

mylinuxforwork avatar Sep 18 '25 07:09 mylinuxforwork

Looking very forward to seeing that! I'm afraid that i'm losing track of all the customizations i'm doing at the moment because i don't fully understand the best way to organize it all.

I'll be sure to look into your video series!

samvdb avatar Sep 18 '25 08:09 samvdb