-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
executable file
·41 lines (41 loc) · 1.12 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
[user]
name = Anna Headley
email = [email protected]
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:'%C(yellow)%h%Cblue%d%Creset %s %Cgreen[%an, %ad]%Creset %C(cyan)[%cn, %cd]%Creset' --graph --all --date=short
latest = log --pretty=format:'%C(yellow)%h%Cblue%d%Creset %s %Cgreen[%an, %ad]%Creset %C(cyan)[%cn, %cd]%Creset' --graph --all --date=short -n7
report = log --pretty=format:'%h %s (%cn)'
type = cat-file -t
dump = cat-file -p
tree = log --oneline --graph --decorate --all --color
au = !git update-index --assume-unchanged
unau = !git update-index --no-assume-unchanged
assumed = !git ls-files -v | grep "^[[:lower:]]"
roll = !git add --all && git commit --amend --no-edit
[core]
excludesfile = ~/.gitignore
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red
new = cyan
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = simple
[diff "ansible-vault"]
textconv = ansible-vault view