diff options
author | Amin Bandali <bandali@kelar.org> | 2022-04-29 19:34:52 -0400 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2022-05-19 22:19:57 -0400 |
commit | b9347cae9eb2de82845de6c579a1f699dd635ee1 (patch) | |
tree | 2d8310847a281bce4e33edc534f968798a72ac13 | |
parent | 76f5b27c516c99be1aef46debfd3bfa6cf4ed7d6 (diff) | |
download | configs-b9347cae9eb2de82845de6c579a1f699dd635ee1.tar.gz configs-b9347cae9eb2de82845de6c579a1f699dd635ee1.tar.xz configs-b9347cae9eb2de82845de6c579a1f699dd635ee1.zip |
git: use 'main' for default branch name for new repos
-rw-r--r-- | .config/git/config | 2 | ||||
-rw-r--r-- | .config/git/template/HEAD | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config index 04a83fb..35aba9d 100644 --- a/.config/git/config +++ b/.config/git/config @@ -64,3 +64,5 @@ [transfer] fsckObjects = true +[init] + templateDir = ~/.config/git/template diff --git a/.config/git/template/HEAD b/.config/git/template/HEAD new file mode 100644 index 0000000..6c4e0e7 --- /dev/null +++ b/.config/git/template/HEAD @@ -0,0 +1 @@ +ref: refs/head/main |