-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
50 lines (41 loc) · 1.6 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
49
50
# Michael's .gitconfig
# (https://github.com/kmhofmann/dotfiles)
# =======================================
[user]
# Edit and uncomment these:
#email = XXXXXXXXX@XXXXX.XXX
#name = XXXXXXX XXXXXXX
[push]
default = simple
[core]
editor = nvim
pager = "less -F -X"
[alias]
st = status
co = checkout
br = branch
ci = commit
cia = commit --amend
cdiff = diff --cached
sdiff = diff --staged
unstage = reset HEAD --
glog = log --graph
last = log -1 HEAD
pullre = pull --rebase
rclone = clone --recursive
prune-branches = remote update origin --prune
lg = !"git lg1"
lgs = !"git lgs1"
lg1 = !"git lgs1 --all"
lg2 = !"git lgs2 --all"
lg3 = !"git lgs3 --all"
lgs1 = 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)'
lgs2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lgs3 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
[commit]
verbose = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true