-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
48 lines (48 loc) · 1.56 KB
/
Copy pathgitconfig
File metadata and controls
48 lines (48 loc) · 1.56 KB
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
46
47
48
[user]
name = Chuka Okoye
email = contact@chookah.org
[core]
excludesfile = ~/.gitignore
editor = vim +0
pager = less -FMRiX
[color]
ui = auto
diff = auto
status = auto
branch = auto
[merge]
tool = vimdiff
[alias]
di = diff --patience
do = diff --patience origin/master --
ci = commit
cia = commit -a
ci-a = commit --amend
co = checkout
cm = checkout master
c-p = cherry-pick
st = status
s = show --patience
l = log --pretty=format:'%Cgreen%h %an %ad %ar%n%Cblue%B' --name-status
l1= !eval git log -1 --pretty=format:'%B' | head -1
lp = log --pretty=format:'%Cgreen%h %an %ad %ar%n%Cblue%B' -p
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lo = log --patience
up = pull --rebase --stat
rbc = rebase --continue
squash = rebase --interactive origin/master
b = branch
sup = svn rebase
sci = svn dcommit --rmdir
cr-diff = diff -M -U999999999 --no-color origin/master..HEAD --
null-diff = diff -M -U999999999 --no-color `git log --pretty=tformat:'%H' | tail -1`..HEAD --
last = cat-file commit HEAD
top = !eval cd "$(pwd)/$(git rev-parse --show-cdup)" && pwd
amend = commit --amend -C HEAD
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
[diff]
renames = true
ignore-space-change = true
ignore-all-space = true
[push]
default = simple