blahblahblah whatever man you know what dotfiles are
shamefullesly stolen from fr3fou/dotfiles
$ git init --bare $HOME/.dotfiles
$ alias dots='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
$ dots remote add origin [email protected]:treuks/.dotfiles.git
dots config status.showUntrackedFiles no
dots config alias.untracked "status -u ."
dots config alias.untracked-at "status -u"
# Use the dots alias like you would use the git command
dots status
dots add --update ...
dots commit -m "..."
dots push
# Listing files (not tracked by git)
dots untracked
dots status -u .config/
# Listing files (tracked by git)
dots ls-files
dots ls-files .config/fontconfig/
TODO: Replace this with a script
git clone --recursive --separate-git-dir=$HOME/.dotfiles [email protected]:treuks/.dotfiles.git /tmp/dotfiles
rsync -rvl --exclude ".git" /tmp/dotfiles/ $HOME/
rm -r /tmp/dotfiles
dots submodule update --init --recursive $HOME/