From 4a7ce5ce43e07c30696a7910f8aee7c540d9d48b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 2 Mar 2023 18:22:38 +0100 Subject: git: shut up about detached HEADs --- %HOME%/.gitconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/%HOME%/.gitconfig b/%HOME%/.gitconfig index 29851fc..1e01521 100644 --- a/%HOME%/.gitconfig +++ b/%HOME%/.gitconfig @@ -15,6 +15,10 @@ # If no refspec is given, push to the branch with the same name. default = current +[advice] + # I know about detached HEADs, shut up. + detachedHead = false + # Git submodules suck, but they suck less if you read # https://medium.com/@porteneuve/mastering-git-submodules-34c65e940407. -- cgit v1.2.3