-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgitconfig
48 lines (48 loc) · 1.59 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[alias]
ci = commit -a
co = checkout
up = pull --rebase -q
ftch = fetch --all -q
psh = push -q
st = status -s -b
bv = branch -vv
wd = diff --color-words
conflict = !"$EDITOR" -c '/^[<=|>]\\{7\\}' `git ls-files --unmerged | cut -c 51- | uniq`
lg = log --decorate --graph --name-status
l = log --decorate --graph --oneline -9
ln = log --decorate --graph --oneline
stats = shortlog -s -n
clear = checkout -p .
staged = diff --cached
conti = rebase --continue
mrg = merge --no-ff --edit --stat
praise = blame
repoversion = describe --always --tags
track = add --intent-to-add
cip = commit --patch
cap = commit --patch --amend
caa = commit --amend -a
ini = "!git init && git commit --allow-empty -m initial"
branches = for-each-ref --sort=-committerdate refs/heads/ --format='%(authordate:short) %(color:red)%(objectname:short) %(color:yellow)%(refname:short)%(color:reset) (%(color:green)%(committerdate:relative)%(color:reset))'
remotebranches = for-each-ref --sort=-committerdate refs/remotes/ --format='%(authordate:short) %(color:red)%(objectname:short) %(color:yellow)%(refname:short)%(color:reset) (%(color:green)%(committerdate:relative)%(color:reset))'
[diff]
renames = copies
[user]
name = Andreas Zwinkau
email = [email protected]
[color]
ui = auto
[core]
whitespace=fix,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[push]
default = tracking
[sendemail]
smtpencryption = tls
smtpserverport = 587
smtpserver = smtp.informatik.kit.edu
smtpuser = zwinkau
[pull]
rebase = true
[rebase]
autoStash = true