summaryrefslogtreecommitdiffstats
path: root/.gitconfig
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-04-12 23:19:09 -0400
committerAmin Bandali <bandali@gnu.org>2019-04-13 00:34:11 -0400
commitec80f07afe6f0985de1aff4d321292c93b3cb4ef (patch)
tree13cf1938bac9c10aeb7ab56b13384b4dde586f2a /.gitconfig
parent44b93a2077e666cd1c437ab513a7d2160d750d11 (diff)
downloadconfigs-ec80f07afe6f0985de1aff4d321292c93b3cb4ef.tar.gz
configs-ec80f07afe6f0985de1aff4d321292c93b3cb4ef.tar.xz
configs-ec80f07afe6f0985de1aff4d321292c93b3cb4ef.zip
configs: pull current configs out of rc.org & clean up
fontconfig: pull out of rc.org getmail: pull out of rc.org gnupg: pull out of rc.org git: pull out of rc.org i3status: pull out of rc.org latexmk: pull out of rc.org mbsync: pull out of rc.org msmtp: pull out of rc.org rofi{,-pass}: pull out of rc.org sway{,lock}: pull out of rc.org xdg: pull out of rc.org xresources: pull out of rc.org zathura: pull out of rc.org {compton,dunst,notmuch}: remove configs {toggle-layout,unlock-def-gk.py,wp,Fun}: remove scripts
Diffstat (limited to '')
-rw-r--r--.gitconfig64
1 files changed, 64 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..98bb2fc
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,64 @@
+[user]
+ name = Amin Bandali
+ email = bandali@gnu.org
+ signingkey = BE6273738E616D6D1B3A08E8A21A020248816103
+
+[commit]
+ gpgsign = true
+
+# [format]
+# signoff = true
+
+[core]
+ autocrlf = input # CRLF -> LF on commit
+ editor = emacsclient -t
+ excludesfile = ~/.gitignore_global
+ pager = "less"
+
+[gpg]
+ program = gpg2
+
+[alias]
+ git = !exec git # handle nested git calls, e.g. git git status
+ aliases = config --get-regexp '^alias\\.'
+ a = add
+ s = status
+ sl = status --long
+ c = checkout
+ cb = checkout -b
+ b = branch
+ r = rebase
+ p = pull
+ pr = pull --rebase
+ ps = push
+ psf = push --force
+ nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f"
+ nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f"
+
+[color]
+ ui = auto
+[color "status"]
+ added = green bold
+ changed = red bold
+ untracked = red bold
+[color "branch"]
+ current = green bold
+ remote = magenta bold
+[color "diff"]
+ new = green bold
+ old = red bold
+
+[status]
+ # showUntrackedFiles = all
+ short=true
+ branch=true
+
+[github]
+ user = aminb
+
+[sendemail]
+ smtpuser = bandali
+ smtpserver = fencepost.gnu.org
+ smtpserverport = 587
+ smtpencryption = tls
+ annotate = yes