forked from chaselambda/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
45 lines (39 loc) · 1.03 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
[user]
name = Chase Lambert
email = [email protected]
[credential]
helpter = cache
[color]
ui = always
[push]
default = current
[alias]
# one-line log
l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
a = add
ap = add -p
c = commit --verbose
ca = commit -a --verbose
cm = commit -m
cam = commit -a -m
m = commit --amend --verbose
d = diff
ds = diff --stat
dc = diff --cached
s = status -s
co = checkout
cob = checkout -b
re = remote -v
# list branches sorted by last modified
#b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
b = branch -a
# list aliases
la = "!git config -l | grep alias | cut -c 7-"
p = pull --rebase
[core]
excludesfile = /home/chase/.gitignore_global
[sendemail]
smtpuser = [email protected]
smtpserver = smtp.googlemail.com
smtpencryption = tls
smtpserverport = 587