-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
61 lines (59 loc) · 1.92 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
61
[color]
ui = auto
[user]
name = Gianpaulo M. Soares
email = [email protected]
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
rb = rebase
lg = log --pretty=format:'%Cgreen%h %Cblue%ad %Cred%cn %Creset%s' --date=short
ffc = diff-tree --no-commit-id --name-only -r
spull = !git-svn fetch && git-svn rebase
spush = !git-svn dcommit
ll = log --pretty=format:\"%C(yellow)%h%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn]\" --decorate --numstat
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lol = log --graph --decorate --pretty=oneline --abbrev-commit
cp = cherry-pick
lgb = "!git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:red)%(objectname:short)%(color:reset);%(color:yellow)%(refname:short)%(color:reset);(%(color:green)%(committerdate:relative)%(color:reset));%(authorname);%(contents:subject)' | column -t -s ';'"
lgbr = "!git for-each-ref --sort=committerdate refs/remotes/origin --format='%(HEAD) %(color:red)%(objectname:short)%(color:reset);%(color:yellow)%(refname:short)%(color:reset);(%(color:green)%(committerdate:relative)%(color:reset));%(authorname);%(contents:subject)' | column -t -s ';'"
branchgc = "!git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done"
[push]
default = simple
[url "https://"]
insteadOf = git://
[core]
autocrlf = false
fileMode = false
editor = vim
[diff]
submodule = log
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = 00 bold 01
newNormal = green bold
newHighlight = green bold 22
[credential]
helper = store
[pull]
ff = only
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[delta]
plus-style = "syntax #012800"
minus-style = "syntax #340001"
syntax-theme = Nord
navigate = true
side-by-side = true
[interactive]
diffFilter = delta --color-only
[init]
defaultBranch = main
[commit]
gpgsign = true