-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
39 lines (39 loc) · 1.06 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
[user]
name = Ethan Ho
email = [email protected]
[core]
editor = nvim
[color]
ui = true
[alias]
st = status
co = checkout
ci = commit
cia = commit --amend
cim = commit -m
br = branch
fa = fetch --all
df = diff
dfs = diff --staged
dfc = "!git --no-pager diff --compact-summary"
dfcs = "!git --no-pager diff --staged --compact-summary"
dfsc = "!git --no-pager diff --staged --compact-summary"
edit-unmerged = "!$EDITOR -p `git diff --name-only --diff-filter=U`"
add-unmerged = "!git add `git diff --name-only --diff-filter=U`"
logt = log --graph --oneline --decorate
logo = log --oneline
logh = log --oneline -n 10
ust = reset HEAD --
mergedry = merge --no-commit --no-ff
sts = stash -u --keep-index
dis = checkout --
res = reset --soft HEAD^
short = rev-parse --short HEAD
ap = add -p
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[pull]
rebase = false