-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgitconfig
More file actions
58 lines (58 loc) · 1.71 KB
/
gitconfig
File metadata and controls
58 lines (58 loc) · 1.71 KB
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
49
50
51
52
53
54
55
56
57
58
[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 = true
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
[user]
name = Andreas Zwinkau
email = zwinkau@mailbox.org
[color]
ui = auto
[core]
whitespace=fix,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
editor = vim
[push]
default = tracking
autoSetupRemote = true
[pull]
rebase = true
[rebase]
autoStash = true
updateRefs = true
[init]
defaultBranch = m
[branch]
sort = -committerdate
[tag]
sort = version:refname
[fetch]
prune = true
pruneTags = true