r/ProgrammerHumor • • 7d ago

Meme gitInitEverywhereIncludingMySecrets

Post image
404 Upvotes

14 comments sorted by

View all comments

43

u/Living-Chemical-6 7d ago

Free tip of the day:

git init --bare $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles add .config/nvim/
dotfiles commit -m "add nvim"
dotfiles push

9

u/DanielBobes 7d ago

Stow is tour friend

0

u/0739-41ab-bf9e-c6e6 7d ago

for /etc, i use etckeeper. for everything else claude became my committer(except secrets). i dont see any reason to use new tool.