-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
31 lines (28 loc) · 785 Bytes
/
gitconfig
File metadata and controls
31 lines (28 loc) · 785 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
28
29
30
31
[core]
excludesfile = ~/.gitignore
[color]
branch = auto
status = auto
interactive = auto
diff = auto
ui = auto
[alias]
su = submodule update --init --recursive
co = checkout
br = branch
lg = log -p
l = log -p
wdiff = diff --word-diff
ci = commit -v
st = status --short --branch
lg = "log --pretty=format:'%C(yellow)%h%C(reset) %C(blue)%an%C(reset) %C(cyan)%cr%C(reset) %s %C(green)%d%C(reset)' --graph"
for = pull --ff-only
redo = commit --amend -C HEAD
rem = !git rebase -i $(git merge-base master HEAD)
fuckit = !git reset --hard HEAD && git clean -df
fix = "!f() { git commit --fixup=$1 && git rebase -i --autosquash $1~1; }; f"
[diff]
mnemonicprefix = true
[user]
name = Casey Williams
email = caseywilliams@users.noreply.github.com