-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
69 lines (62 loc) · 1.82 KB
/
Copy path.gitconfig
File metadata and controls
69 lines (62 loc) · 1.82 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[user]
name = graham
email = m477@duck.com
[color]
ui = auto
[color "decorate"]
remoteBranch = green
[color "branch"]
current = red
local = yellow
remote = green
upstream = bold cyan
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[color]
ui = true
[color "diff"]
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = less -RMFX
excludesFile = ~/.gitignore
[alias]
please = push --force-with-lease
s = status -s
st = status
ci = commit
br = branch
co = checkout
lognames = log --name-status
logdiff = log -p --stat
loot = log --graph --decorate --oneline --date-order --all
lot = log --graph --decorate --oneline --date-order --branches
loo = log --graph --decorate --oneline --all
lo = log --graph --decorate --oneline --branches
lt = log --graph --decorate --oneline --date-order
l = log --graph --decorate --oneline
ls = ls-files
sh = remote show origin
rollback = checkout --
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !git lg1
cp = cherry-pick
[push]
default = simple
[credential]
helper = netrc -f ~/.netrc.gpg -v
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[include]
path = ~/.gitconfig-local