From acc2dd38307dff4f9ccdf340af230b2b6c2ca79d Mon Sep 17 00:00:00 2001 From: skoh-fley Date: Fri, 4 Nov 2011 12:38:42 -0700 Subject: [PATCH] readme clarifications --- README.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3a1e004..970a77c 100644 --- a/README.md +++ b/README.md @@ -9,36 +9,41 @@ we cannot just do a `git clone`, so we need to git remote add origin git@github.com:skoh-fley/dotfiles git pull origin master -And don't forget to also +and also git submodule update --init -Or see below. +or see below. git submodules -------------- I always forget how to do this and end up messing up my entire repo, so here's a friendly but stern reminder to myself. -After pulling this repo, +After pulling this repo for the first time, git submodule update --init -Which is the same thing as +(which is the same thing as git submodule init git submodule update -Which grabs current versions of all this repo's submodules. You're done! +), which grabs current versions of all this repo's submodules. You're done! To upgrade one submodule, `cd` to it and just git pull origin master -Or, to upgrade all submodules under this repo, run +or, to upgrade all submodules under this repo, git submodule foreach git pull origin master -To add a new submodule that is, for example, a vim plugin on GitHub, run +and you're done. To add a new submodule that is, for example, a vim plugin on +GitHub, just git submodule add -f http://github.com//.git .vim/bundle/ + +and [pathogen][1] should take care of the rest. + +[1]: http://github.com/tpope/vim-pathogen/ "tpope/vim-pathogen" -- knotmirror 0.0.1