-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
27 lines (27 loc) · 733 Bytes
/
.gitconfig
File metadata and controls
27 lines (27 loc) · 733 Bytes
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
[color]
ui = true
[alias]
ci = commit
co = checkout
df = diff -w
br = branch
st = status
last = log -1 HEAD
me = merge --no-ff
lg = log --decorate --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lol = log --graph --oneline --decorate
lop = log -p
put = push origin HEAD
sha = !"git rev-parse HEAD | tr -d \"\n\" | pbcopy"
bn = !"git name-rev HEAD --name-only | tr -d \"\n\" | pbcopy"
fml = !"git fetch && git reset --hard origin/master"
fe = fetch -p
fepull = !"git fetch -p && git pull"
cah = commit --amend -CHEAD
[user]
name = Matt Gauger
email = matt.gauger@gmail.com
[merge]
summary = false
[push]
default = simple