-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
42 lines (42 loc) · 1.05 KB
/
Copy path.gitconfig
File metadata and controls
42 lines (42 loc) · 1.05 KB
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
[include]
path = ~/.gitconfig-personal
[includeIf "gitdir:~/Documents/work/"]
path = ~/.gitconfig-work-hanzo
[core]
excludesFile = ~/.gitignore_global
[alias]
all = add .
am = commit -am
b = branch --list -a
back = "!git reset --soft HEAD~1 && git reset HEAD . #"
bu = "!git-summary $HOME/Documents/ -d 3 -b #"
cd = checkout develop
l = log --pretty=format:'%Cgreen%h%Creset -%Creset %s%C(yellow)%d %Cblue(%aN, %cr)%Creset' --abbrev-commit --date=relative
p = pull
poh = push origin HEAD
rall = clean -df .
s = status -s
st = status
new = "!git l $1..HEAD #"
missing = "!git l HEAD..$1 #"
d = diff --word-diff
ds = d --staged
sh = stash save --keep-index --include-untracked
m = merge
mc = m --continue
r = "!git rebase -i HEAD~\"$1\" #"
bl = blame -w -C -C -C
[rebase]
autoStash = true
[gc]
reflogExpire = 180
reflogExpireUnreachable = 180
[rerere]
enabled = true
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true