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
|
```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
|
||||||
|
|
Loading…
Reference in a new issue