-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
23 lines (23 loc) · 855 Bytes
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[user]
username = ttay
name = ttay
email = [email protected]
[alias]
a = add
co = checkout
br = branch
ci = commit
st = status
last = log -1 HEAD
unstage = reset HEAD --
cip = "!f() { git commit -m \"$@\" && git push; }; f"
lazy = "!f() { git commit -a -m \"$@\" && git push; }; f"
lazyall = "!f() { git add . -A && git commit -m \"$@\" && git push; }; f"
local = "!f() { git add . -A && git commit -a -m \"$@\"; }; f"
ll = log --stat --abbrev-commit
graph = log --graph --full-history --all --color --pretty=tformat:"%C(red)%h%C(reset)%x09%C(green)%d%C(reset)%C(bold)%s%C(reset)%C(yellow)(%an)%C(reset)"
graph2 = log --graph --full-history --all --color --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x20%x1b[33m(%an)%x1b[0m"
[credential]
helper = cache
[help]
autocorrect = 1