summaryrefslogtreecommitdiff
path: root/dot-gitconfig
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-05-22 00:13:01 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-05-22 00:13:01 +0800
commitbc596160223ad7e8d95c2c98fc612fe928514369 (patch)
tree44589bc0d1b1a9dfe6416fb03487be35373b49c6 /dot-gitconfig
parent5947ed827666429ac01f5aafdfda08c3e2c08024 (diff)
gitconfig->dot-gitconfig
Diffstat (limited to 'dot-gitconfig')
-rw-r--r--dot-gitconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/dot-gitconfig b/dot-gitconfig
new file mode 100644
index 00000000..b06e1e88
--- /dev/null
+++ b/dot-gitconfig
@@ -0,0 +1,24 @@
+[user]
+ name = littleblack111
+ email = littleblack11111@gmail.com
+[init]
+ defaultBranch = main
+[push]
+ autoSetupRemote = true
+ default = current
+[commit]
+ gpgsign = true
+[alias]
+ permission-reset = !git diff -p -R --no-ext-diff --no-color --diff-filter=M | grep -E \"^(diff|(old|new) mode)\" --color=never | git apply
+[merge]
+ ff = false
+[credential "https://github.com"]
+ helper =
+ helper = !/usr/bin/gh auth git-credential
+[credential "https://gist.github.com"]
+ helper =
+ helper = !/usr/bin/gh auth git-credential
+[safe]
+ directory = /var/db/repos/ebuilds
+[pull]
+ rebase = true