From c00e204a5184dd1a24d2aadac9c2772a92ce9c7d Mon Sep 17 00:00:00 2001 From: Darshan Patel Date: Mon, 16 Sep 2019 12:39:19 -0700 Subject: [PATCH] Add git config in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ```