Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 508 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 508 Bytes

Git bare repo

Repo location:

~/dotfiles

Initial setup:

mkdir ~/dotfiles
cd ~/dotfiles
git init --bare
git remote add origin https://github.com/BakerNet/dotfiles

Add config command to shell RC:

alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'

Use config instead of git for adding/removing dotfiles

Pull the dotfiles:

config checkout main
config pull

Hide untracked files:

config config --local status.showUntrackedFiles no