summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2016-08-15 17:44:30 -0700
committerAnish Athalye <me@anishathalye.com>2016-08-15 17:44:30 -0700
commitf04b94d4ae98599568d868c6d14d2ea428d4f16a (patch)
tree18c39bd1984cb6f1f2cc439451b5c11bcd59c5c3 /README.md
parenta836261d02755e5cbdb28dcfd1ff0b89de27a0c3 (diff)
Add info about initializing repo during setup
This change was suggested by Brian Jacobowski <bjacobowski.dev@gmail.com>.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0a0604f..6fbc687 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,7 @@ If you're using Git, you can add Dotbot as a submodule:
```bash
cd ~/.dotfiles # replace with the path to your dotfiles
+git init # initialize repository if needed
git submodule add https://github.com/anishathalye/dotbot
cp dotbot/tools/git-submodule/install .
touch install.conf.yaml
@@ -47,6 +48,7 @@ If you're using Mercurial, you can add Dotbot as a subrepo:
```bash
cd ~/.dotfiles # replace with the path to your dotfiles
+hg init # initialize repository if needed
echo "dotbot = [git]https://github.com/anishathalye/dotbot" > .hgsub
hg add .hgsub
git clone https://github.com/anishathalye/dotbot