forked from rsterbin/personal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
47 lines (38 loc) · 1.71 KB
/
Copy pathgitconfig
File metadata and controls
47 lines (38 loc) · 1.71 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
[user]
name = Svetlana Wiczer
email = svetlana@omniti.com
[alias]
st = status
co = checkout
ci = commit
personal-profile = config user.email \"svetlana.wiczer@gmail.com\"
mediawiki-profile = config user.name \"eszaq\"
#linux: colorful custom quick log view
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
unpushed = !GIT_CURRENT_BRANCH=$(git name-rev --name-only HEAD) && git log origin/$GIT_CURRENT_BRANCH..$GIT_CURRENT_BRANCH --oneline
#same for solaris: no color diffr syntax
#lg = log --graph --pretty=format:'%C(bold)%h%Creset -%C(bold)%d%Creset %s %C(bold)(%cr)%Creset <%an>' --abbrev-commit --date=relative
#notup = log --graph --decorate --pretty=oneline --abbrev-commit @{upstream}^..
mine = log --graph --pretty=format:'%C(bold)%h%Creset -%C(bold)%d%Creset %s %C(bold)(%cr)%Creset <%an>' --abbrev-commit --date=relative origin/master..HEAD
pulled = !sh -c 'git log $1@{1}..$1@{0} "$@"'
whois = !sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
# git rev-parse --symbolic-full-name HEAD
# vs.
# git rev-parse --symbolic-full-name HEAD@{u}
# # ... or for the abbreviated form, add --abbrev-ref
[merge]
tool = vimdiff
[color]
ui = true
[gitreview]
username = swiczer
username = swiczer
username = swiczer
[giggle]
main-window-maximized = false
main-window-geometry = 1460x817+109+212
history-view-vpane-position = 616
main-window-view = HistoryView
file-view-hpane-position = 364
file-view-vpane-position = 746