summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 00000000..e506c94b
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,19 @@
+[user]
+ name = littleblack111
+ email = littleblack11111@gmail.com
+[init]
+ defaultBranch = main
+[push]
+ autoSetupRemote = true
+[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