-
Notifications
You must be signed in to change notification settings - Fork 13
/
.gitconfig
60 lines (50 loc) · 1.5 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
53
54
55
56
57
58
59
60
[user]
email = codenameyau@gmail.com
name = Jorge Yau
[core]
editor = vim
ignorecase = false
excludesfile = ~/.gitignore_global
[alias]
c = commit
g = grep --break --heading --line-number
s = status
d = diff
b = branch --sort=committerdate
prune = fetch origin --prune
changes = log develop..HEAD --oneline --no-merges --author="codenameyau" --pretty='%s'
ls = log --abbrev-commit --no-merges --pretty='%h (%ad) - [%an] %s %d' --date=format:'%b %d %Y'
ll = log --no-merges --pretty='\n\n%C(bold yellow)[%cn] %C(bold red)(%cr) %C(bold green)%s' --decorate --numstat
search = log --no-merges -i -E --pretty='%h (%ad) - [%an] %s %d' --date=format:'%b %d %Y' --grep
contributions = log --no-merges --author="codenameyau" --pretty='%ad - %s' --date=format:'%b %d %Y (%I:%M %p)'
flow = log --no-merges --author="codenameyau" --stat --pretty='\n\n%C(bold blue)[%h] %C(bold yellow)%ad (%cr) %C(green)- %s' --date=format:'%b %d %Y'
[grep]
lineNumber = true
extendRegexp = true
[color]
ui = true
interactive = auto
branch = auto
diff = auto
status = auto
[color "branch"]
current = green bold
local = green
remote = red bold
[color "diff"]
meta = yellow bold ul
frag = cyan bold ul
old = red bold
new = green bold
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[filter "lfs"]
smudge = git-lfs smudge %f
required = true
clean = git-lfs clean %f
[push]
default = current
[url "git@github.com:"]
insteadOf = https://github.com/