summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-rw-r--r--git/config15
-rw-r--r--git/ignore7
2 files changed, 22 insertions, 0 deletions
diff --git a/git/config b/git/config
new file mode 100644
index 0000000..e84323e
--- /dev/null
+++ b/git/config
@@ -0,0 +1,15 @@
+# Set up with authentication with gh(1) (GitHub CLI)
+[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
+[user]
+ name = Mitsuo Tokumori
+[diff]
+ # used with $ git difftool
+ tool = vimdiff
+[merge]
+ tool = vimdiff
diff --git a/git/ignore b/git/ignore
new file mode 100644
index 0000000..d71d05b
--- /dev/null
+++ b/git/ignore
@@ -0,0 +1,7 @@
+# gitconfig file in ~/.config/git/config (if not in ~/.gitconfig)
+
+# Vim
+*.swp
+
+# KDE
+.directory