aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.gitconfig
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 18:22:38 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 18:22:59 +0100
commit4a7ce5ce43e07c30696a7910f8aee7c540d9d48b (patch)
treeefac1cf4a9f121c648601512bfa2a087de2ca622 /%HOME%/.gitconfig
parenttmux: group settings, add separators (diff)
downloadlinux-home-4a7ce5ce43e07c30696a7910f8aee7c540d9d48b.tar.gz
linux-home-4a7ce5ce43e07c30696a7910f8aee7c540d9d48b.zip
git: shut up about detached HEADs
Diffstat (limited to '')
-rw-r--r--%HOME%/.gitconfig4
1 files changed, 4 insertions, 0 deletions
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.