-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
59 lines (47 loc) · 1.56 KB
/
.gitconfig
File metadata and controls
59 lines (47 loc) · 1.56 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[user]
name = Taylor Daugherty
email = taylor.daugherty@bettercloud.com
signingkey = 0A10222A
[core]
editor = vim
excludesfile = ~/.gitignore_global
[color]
ui = true
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
c = commit -am
recent = for-each-ref --sort=-committerdate refs/remotes/ --count=20 --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
co = checkout
unstage = reset HEAD --
undo = reset --soft HEAD^
prune = fetch --prune
blog = log --first-parent --no-merges --oneline
caa = commit --amend -a -C HEAD --no-edit
[merge "npm-merge-driver"]
name = automatically merge npm lockfiles
driver = npx npm-merge-driver merge %A %O %B %P
[pull]
rebase = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[rebase]
autosquash = true
[merge]
ff = only
[push]
default = current
[status]
showUntrackedFiles = all
; [pager]
; diff = diff-so-fancy | less --tabs=1,5 -RFX
; show = diff-so-fancy | less --tabs=1,5 -RFX
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse