summaryrefslogtreecommitdiff
path: root/dots/git
diff options
context:
space:
mode:
Diffstat (limited to 'dots/git')
-rw-r--r--dots/git/.config/git/rootignore7
-rw-r--r--dots/git/.gitconfig.j212
2 files changed, 19 insertions, 0 deletions
diff --git a/dots/git/.config/git/rootignore b/dots/git/.config/git/rootignore
new file mode 100644
index 0000000..136db89
--- /dev/null
+++ b/dots/git/.config/git/rootignore
@@ -0,0 +1,7 @@
+.classpath
+.factorypath
+.project
+.settings
+.idea
+.cache
+.vscode
diff --git a/dots/git/.gitconfig.j2 b/dots/git/.gitconfig.j2
new file mode 100644
index 0000000..015ad96
--- /dev/null
+++ b/dots/git/.gitconfig.j2
@@ -0,0 +1,12 @@
+[user]
+ signingkey = {{ pgp.signing }}
+ user = {{ user.name }}
+ email = {{ user.email }}
+[commit]
+ gpgsign = true
+[core]
+ excludesFile = ~/.config/git/rootignore
+[push]
+ autoSetupRemote = true
+[pull]
+ rebase = true