News for hackers. Stuff that matters.
Re:Start all of your commands with a comma (2009) by tschumacher on Sunday June 23, 2024 @03:31PM (#40769951)
I got this from an old HN comment I can't find anymore. I have this in my .bashrc:

  alias dotfiles='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
And I init my dotfiles into a fresh home directory like this:

  git clone --bare [email protected]:dotfiles $HOME/.dotfiles
  git --git-dir=$HOME/.dotfiles --work-tree=$HOME config status.showUntrackedFiles no
  git --git-dir=$HOME/.dotfiles --work-tree=$HOME reset --hard

There are no comments on this comment yet.