Add git config in README
This commit is contained in:
parent
fea82c687c
commit
c00e204a51
|
@ -39,7 +39,8 @@ 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 init # initialize repository if needed
|
||||||
git submodule add -b master https://github.com/anishathalye/dotbot # Track master branch of dotbot, instead of detaching head
|
git submodule add https://github.com/anishathalye/dotbot
|
||||||
|
git config -f .gitmodules submodule.dotbot.ignore dirty # Ignore dirty commits in the submodule
|
||||||
cp dotbot/tools/git-submodule/install .
|
cp dotbot/tools/git-submodule/install .
|
||||||
touch install.conf.yaml
|
touch install.conf.yaml
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue