To migrate to these dotfiles,
- Create the directory $HOME/.cfg and add a gitignore file (to avoid recursion issues)
echo .cfg >> .gitignore
- Clone this repo to the .cfg directory
git clone --bare <git-repo-url> $HOME/.cfg
- Define the following alias for the current session.
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
- Checkout the actual content from the bare repository to $HOME
config checkout
- Set the flag showUntrackedFiles to no on this specific (local) repository
config config --local status.showUntrackedFiles no
Refer here for more info.