- Git (1.7+)
- Vim (7.3+) - MacVim installed via Homebrew
$ cd ~
$ git clone git@github.com:eheyne/dotfiles.git ~/dotfiles
$ cd ~/dotfiles# Register the submodules
$ git submodule init
# Clone the submodules
$ git submodule update# Add the submodule
$ git submodule add git://example.com/remote/path/to/repo.git vim/bundle/one-submodule
# Stage the changes
$ git add vim/bundle/one-submodule
# Commit the changes
$ git commit -m "Add a new submodule: one-submodule"ln -s ~/dotfiles/.bashrc .bashrc
ln -s ~/dotfiles/.bash_profile .bash_profile
ln -s ~/dotfiles/.gitignore_global .gitignore_global
ln -s ~/dotfiles/.vim .vim
ln -s ~/dotfiles/.vimrc .vimrc
ln -s ~/dotfiles/.gitconfig .gitconfigbrew install git bash-completionbrew install the_silver_searcher# Navigate to your dotfiles directory
$ cd ~/dotfiles
# Run this one line in bash
$ git submodule foreach git pull origin masterI have a few people to thank for help and inspiration in getting this up and running: