-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgitconfig
52 lines (52 loc) · 1.12 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
51
52
[user]
name = Ryan Dlugosz
email = [email protected]
[color]
status = auto
grep = auto
diff = auto
ui = auto
interactive = auto
[alias]
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
st = status
ci = commit
co = checkout
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
fa = fetch --all
pom = push origin master
b = branch
ds = diff --stat=160,120
dh1 = diff HEAD~1
head = !git l -1
h = !git head
hp = "!. ~/.githelpers && show_git_head"
r = !git l -30
ra = !git r --all
l = "!. ~/.githelpers && pretty_git_log"
la = !git l --all
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
[push]
default = current
[core]
excludesfile = ~/.gitignore_global
autocrlf = input
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[receive]
denyDeleteCurrent = warn
[init]
defaultBranch = main
[pull]
rebase = true