-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
41 lines (34 loc) · 915 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
34
35
36
37
38
39
40
41
[user]
name = adamboche
email = [email protected]
[core]
editor = emacs
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
sw = switch
rs = restore
st = status
cm = commit
pu = push
ch = checkout
br = branch
me = merge
di = diff
unstage = reset HEAD --
last = log -1 HEAD
utccommit = !git commit --date=\"$(date --utc +%Y-%m-%dT%H:%M:%S%z)\"
commit = !git commit --date=\"$(date --utc +%Y-%m-%dT%H:%M:%S%z)\"
first-commit = rev-list --max-parents=0 HEAD
serve = ! echo "Serving ${PWD} on git://localhost:9418/" && git daemon --verbose --reuseaddr --export-all --base-path=. .
[push]
followTags = true
[merge]
conflictStyle = diff3
[branch]
autoSetupMerge = always
[rebase]
autostash = true
[diff]
algorithm = histogram
[pull]
ff = only