1
0
Fork 0
mirror of synced 2024-12-22 06:01:07 -05:00

Add info about initializing repo during setup

This change was suggested by Brian Jacobowski
<bjacobowski.dev@gmail.com>.
This commit is contained in:
Anish Athalye 2016-08-15 17:44:30 -07:00
parent a836261d02
commit f04b94d4ae

View file

@ -38,6 +38,7 @@ If you're using Git, you can add Dotbot as a submodule:
```bash ```bash
cd ~/.dotfiles # replace with the path to your dotfiles cd ~/.dotfiles # replace with the path to your dotfiles
git init # initialize repository if needed
git submodule add https://github.com/anishathalye/dotbot git submodule add https://github.com/anishathalye/dotbot
cp dotbot/tools/git-submodule/install . cp dotbot/tools/git-submodule/install .
touch install.conf.yaml touch install.conf.yaml
@ -47,6 +48,7 @@ If you're using Mercurial, you can add Dotbot as a subrepo:
```bash ```bash
cd ~/.dotfiles # replace with the path to your dotfiles cd ~/.dotfiles # replace with the path to your dotfiles
hg init # initialize repository if needed
echo "dotbot = [git]https://github.com/anishathalye/dotbot" > .hgsub echo "dotbot = [git]https://github.com/anishathalye/dotbot" > .hgsub
hg add .hgsub hg add .hgsub
git clone https://github.com/anishathalye/dotbot git clone https://github.com/anishathalye/dotbot