From 809637576256123c2f763f644c3d3e00cd67b8a4 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 18 Nov 2019 11:30:16 +1100 Subject: [PATCH] Enable the submodule.recurse configuration flag globally rather than using specialised aliases, I always wanna recurse --- config/git/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/git/config b/config/git/config index d118da3..d7b9b61 100644 --- a/config/git/config +++ b/config/git/config @@ -8,7 +8,7 @@ co = checkout d = diff l = log --graph --pretty=graph --date=relative - up = pull --rebase=preserve --autostash --recurse-submodules + up = pull --rebase=preserve --autostash patch = !git --no-pager diff --no-color st = status --short shove = "!f() { git push ${1:-origin} :; }; f" @@ -67,6 +67,9 @@ [status] branch = true +[submodule] + recurse = true + [url "git@github.com:"] pushInsteadOf = https://github.com/