News for hackers. Stuff that matters.
Re:Start all of your commands with a comma (2009) by aslatter on Sunday June 23, 2024 @03:00PM (#40769713)
I didn't invent this, but I have a headless "config" checkout, and have a git-alias which sets my home-directory as the work-tree:

   git init --bare $HOME/.config/repo
   alias config='/usr/bin/git --git-dir=$HOME/.config/repo --work-tree=$HOME'
   config config --local status.showUntrackedFiles no
Then I can do things like "config add", "config commit", and "config push".

There are no comments on this comment yet.