-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
33 lines (29 loc) · 884 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
30
31
32
33
[user]
email = [email protected]
name = Filip Kazimierczak
[core]
excludesfile = ~/.gitignore-dev
editor = vim
quotepath = false
[alias]
ci = commit
st = status
br = branch
co = checkout
df = diff
dc = diff --cached
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
last = log -1 HEAD
lg = log
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
who = shortlog -s --
dump = cat-file -p
type = cat-file -t
amend = commit -a --amend
undo = reset HEAD~1 --mixed
unstage = reset HEAD --
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
ours = "!f() { git co --ours $@ && git add $@; }; f"
theirs = "!f() { git co --theirs $@ && git add $@; }; f"
[push]
default = simple