Padova · IT
● EVERGREEN NOTE dotfilesworkflow

Dotfiles Repo Workflow

Bare repo + GNU Stow workflow for ~/dotfiles.

Bare repo + Stow workflow for ~/dotfiles.

Topology

Add a config

cd ~/dotfiles
mkdir -p <pkg>/.config/<pkg>
mv ~/.config/<pkg>/* <pkg>/.config/<pkg>/
stow <pkg>
git add . && git commit -m "add: <pkg>"
git push

Edit

Edit through symlink or working tree — same file. Then commit.

Restow after structure change

stow -R <pkg>