-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
36 lines (33 loc) · 1.04 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
[user]
name = Zach Lysobey
email = [email protected]
[alias]
l = log --format="%C(auto) %h %s" --reverse
lg = log --pretty=oneline -n 20 --graph --abbrev-commit
st = status -s
d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat"
pu = push
f = fetch
r = rebase
so = show
fr = !"git fetch && git rebase"
from = !"git fetch && git rebase origin/master"
frod = !"git fetch && git rebase origin/development"
mast = checkout master
dev = checkout development
co = checkout
cane = commit --amend --no-edit
c = commit
undo = reset --soft head~
branches = branch --all --sort=-committerdate
recent = for-each-ref --sort=-committerdate refs/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
alias = ! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ /
[pager]
log = false
diff = false
[color]
ui = true
[pull]
rebase = true
[commit]
verbose = true