Skip to main content
czerasz.com: notes
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Dotfiles

Setup

git init --bare "${HOME}/dotfiles"
alias dotfiles='/usr/bin/git --git-dir="${HOME}/dotfiles/" --work-tree="${HOME}"' >> "${HOME}/.bashrc"
source "${HOME}/.bashrc"
dotfiles config --local status.showUntrackedFiles no

Usage

dotfiles add .bashrc
dotfiles commit -m 'feat: add .bashrc'
dotfiles push

Alternatives