Add info about initializing repo during setup
This change was suggested by Brian Jacobowski <bjacobowski.dev@gmail.com>.
This commit is contained in:
parent
a836261d02
commit
f04b94d4ae
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue