/
.gitconfig
29 lines (29 loc) · 904 Bytes
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[core]
pager = delta --dark --theme "1337"
[alias]
stat = status
co = checkout
# Taken from http://coderwall.com/p/euwpig?i=3&p=1&t=git
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
unstage = reset HEAD
up = "!sh -c 'git stash && git pull --rebase && git stash pop'"
starepocopu = "!sh -c 'git stash && git pull --rebase && git stash pop && git commit -a && git push'"
wd = diff --word-diff
update-externals = submodule update --init --recursive
putsch = push --force
[color]
branch = auto
status = auto
diff = auto
ui = auto
[user]
name = Sebastian Nohn
email = sebastian@nohn.net
signingkey = 3A641093
[push]
default = current
[branch "master"]
remote = origin
merge = refs/heads/master
[diff]
noprefix = true