git clone --bare git@github.com:lib-cf/dotfiles.git "${HOME}/.dotfiles"git --git-dir="${HOME}/.dotfiles" --work-tree="$HOME" config --local status.showUntrackedFiles noNote
If the following checkout fails because tracked dotfiles already exist in $HOME, move or remove the conflicting
files and try again.
git --git-dir="${HOME}/.dotfiles" --work-tree="$HOME" checkoutgit --git-dir="${HOME}/.dotfiles" --work-tree="$HOME" update-index --skip-worktree README.mdrm README.mdbrew bundle --global[[ -d "${HOME}/.dotfiles" ]] &&
alias dotfiles='git --git-dir="${HOME}/.dotfiles" --work-tree="$HOME"'dotfiles statusdotfiles -c status.showUntrackedFiles=normal statusImportant
The following original installation instructions are included only for reference purposes – do not use for new computer setup.
git init --bare "${HOME}/.dotfiles"git --git-dir="${HOME}/.dotfiles" --work-tree="$HOME" config --local status.showUntrackedFiles no[[ -d "${HOME}/.dotfiles" ]] &&
alias dotfiles='git --git-dir="${HOME}/.dotfiles" --work-tree="$HOME"'