projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cff9e25
)
git: use tabs in ~/.gitconfig, also don’t use short status
author
Amin Bandali
<bandali@gnu.org>
Fri, 10 May 2019 22:58:52 +0000
(18:58 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Fri, 10 May 2019 22:58:52 +0000
(18:58 -0400)
.gitconfig
patch
|
blob
|
blame
|
history
diff --git
a/.gitconfig
b/.gitconfig
index
98bb2fc
..
d83d9c9
100644
(file)
--- a/
.gitconfig
+++ b/
.gitconfig
@@
-1,57
+1,57
@@
[user]
[user]
- name = Amin Bandali
- email = bandali@gnu.org
- signingkey = BE6273738E616D6D1B3A08E8A21A020248816103
+
name = Amin Bandali
+
email = bandali@gnu.org
+
signingkey = BE6273738E616D6D1B3A08E8A21A020248816103
[commit]
[commit]
- gpgsign = true
+
gpgsign = true
# [format]
# [format]
-# signoff = true
+#
signoff = true
[core]
[core]
- autocrlf = input # CRLF -> LF on commit
- editor = emacsclient -t
- excludesfile = ~/.gitignore_global
- pager = "less"
+
autocrlf = input # CRLF -> LF on commit
+
editor = emacsclient -t
+
excludesfile = ~/.gitignore_global
+
pager = "less"
[gpg]
[gpg]
- program = gpg2
+
program = gpg2
[alias]
[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"
+
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]
[color]
- ui = auto
+
ui = auto
[color "status"]
[color "status"]
- added = green bold
- changed = red bold
- untracked = red bold
+
added = green bold
+
changed = red bold
+
untracked = red bold
[color "branch"]
[color "branch"]
- current = green bold
- remote = magenta bold
+
current = green bold
+
remote = magenta bold
[color "diff"]
[color "diff"]
- new = green bold
- old = red bold
+
new = green bold
+
old = red bold
[status]
[status]
- # showUntrackedFiles = all
- short=true
- branch=true
+
# showUntrackedFiles = all
+
#
short=true
+
#
branch=true
[github]
user = aminb
[github]
user = aminb