-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
41 lines (41 loc) · 1.34 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
[user]
name = "Craig Kahle"
email = ckahle33@gmail.com
[push]
default = current
[core]
excludesfile = /Users/craigkahle/.gitignore
editor = /usr/local/bin/vim
[alias]
st = status
ci = commit
co = checkout
br = branch
di = diff
dc = diff --cached
cp = cherry-pick
amend = commit --amend
undo = reset --soft HEAD^
oneline = log --pretty=oneline
staged = diff --cached
unstaged = diff
recent = log --pretty=format:'%Cred%h %Creset- %Cgreen%an (%cd)%Creset: %s' --since='2 weeks ago' --date=short --author=ckahle33 --all
tree = log --graph --pretty=oneline --abbrev-commit
ignore = update-index --assume-unchanged
parent = name-rev --refs='refs/remotes/*' HEAD
l = log --graph --abbrev-commit --date=relative --pretty=format:'%C(yellow)%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'
la = !git l --all
head = !git l -1
h = !git head
r = !git l -30
ra = !git r --all
merged = !git branch --merged | egrep -v \"\\*|^\\s+develop$|^\\s+master$\"
merged-cleanup = !git merged | xargs -n 1 git branch -d
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort
[format]
pretty = format:%C(yellow)%h %Cblue%>(12)%ad %Cgreen%<(7)%aN%Cred%d %Creset%s
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f