-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
51 lines (44 loc) · 1.28 KB
/
Copy path.gitconfig
File metadata and controls
51 lines (44 loc) · 1.28 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
[core]
excludesfile = ~/.kkrc/.gitignore
quotePath = false
[color]
ui = auto
diff = auto
status = auto
branch = auto
[diff]
rename = copy
[alias]
st = status
ci = commit
co = checkout
br = branch
d = diff
l = log --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative
# Or, before 1.8.3 (Damn, CentOS, it's 2014!): l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
ll = log --all --graph --decorate --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset %n' --abbrev-commit --date=relative
glog = log --all --graph --decorate --pretty=oneline --abbrev-commit
wdiff = difftool -t wdiff
[push]
followTags = true
[gpg]
format = ssh
[difftool "wdiff"]
cmd = wdiff "$LOCAL" "$REMOTE" | vim -c ':set ft=wdiff' -
# Enable these to sign commits with your SSH key for GitHub.
# edit the name/email pairs, then use:
# git rebase -i HEAD~n
# where n is the number of commits to re-sign, and then keep repeating:
# git commit --amend -S
# git rebase --continue
#
#[user]
# name = user
# email = user@example.com
#
#[committer]
# name = user
# email = user@example.com
#
#[commit]
# gpgsign = true