/dotfiles

Primary LanguageVim Script

dotfiles

setup:
git clone git@github.com:mschaffner/dotfiles.git
git submodule init
git submodule update
use tmpl.gitconfig as base for .gitconfig file

Adding a submodule

git submodule add (git link) (path)

Some notes on git

If you need to ignore local changes to tracked files (we have that with local modifications to config files), use: git update-index --assume-unchanged [...]

To exclude a file from local index add it to .git/info/exclude

connect the dots on a new machine

curl "https://raw.githubusercontent.com/mschaffner/dotfiles/master/setup.sh" > setup.sh
sh setup.sh