diff --git a/README.md b/README.md index c37557d..48c6712 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,8 @@ 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 -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 . touch install.conf.yaml ```