-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig.local
31 lines (29 loc) · 904 Bytes
/
gitconfig.local
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
[user]
name = Neil Johari
email = [email protected]
signingKey = C6CA0540F2ADFA4A7C0A2F4A4087615AB84D394E
[commit]
gpgsign = true
[pull]
rebase = false
ff = true
[alias]
l = log --pretty=colored
cm = !"git add . && git commit -am"
co = checkout
cob = checkout -b
df = diff --color --color-words --abbrev
s = status
root = rev-parse --show-toplevel
# Show the diff between the latest commit and the current state
d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat"
ctags = !.git/hooks/ctags
sla = log --oneline --decorate --graph --all
glog = log -E -i --grep
car = commit --amend --no-edit
unstage = reset
uncommit = reset --soft HEAD^
[pretty]
colored = format:%Cred%h%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset
[core]
excludesfile = /Users/neiljohari/.gitignore_global