Here's my fairly basic git dotfiles. Nothing too fancy, but great for my current use cases.
- Sets Vim as editor and for diffing
- Ansible vault integration
- Sign commits using ssh key
- One and two line status options
- Lengthy gitignore file
- Create a hidden dotfiles directory:
mkdir -p "${HOME}/.dotfiles"
- Change directories:
cd "${HOME}/.dotfiles"
- Clone this repo
git clone git@github.com:cn246-dotfiles/git.git
- Stow the dotfiles:
stow --verbose --no-folding git