Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
I wanted to automate the setup of my desktop environment, but didn’t know what got changed in the individual config files when I tweaked a setting in the UI.
So, I did a git init in ~/.config/, added all files to an initial commit, and then made the change in the UI. Afterwards, a git diff showed the exact changes I wanted.
I wanted to automate the setup of my desktop environment, but didn’t know what got changed in the individual config files when I tweaked a setting in the UI.
So, I did a
git init
in~/.config/
, added all files to an initial commit, and then made the change in the UI. Afterwards, agit diff
showed the exact changes I wanted.