-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
52 lines (51 loc) · 1.1 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[init]
defaultBranch = main
[user]
name = James Sadler
email = james@cipherstash.com
signingkey = 61EB4B798EB2500A0AA5BDDE9103CA4722A82CDC
[commit]
gpgSign = yes
[merge]
tool = p4merge
[diff]
tool = p4merge
[diff]
renames = copies
[color]
branch = auto
diff = auto
status = true
ui = true
[alias]
plainlog = log --pretty=format:"%h%x09%an%x09%ad%x09%s"
fileslog = log --name-status --pretty=oneline
l = log --graph --pretty=format:'%Cblue%h%d%Creset %ar %Cgreen%an%Creset %s'
ls = ls-files
f = fetch
ff = merge --ff-only
co = checkout
s = status
st = stash
c = commit -v
d = diff
a = add
b = branch
m = merge
p = push
pf = push --force-with-lease
rb = rebase
r = reset
sh = show
t = tag
cp = cherry-pick
ch = cherry
gh = !sh -c 'git clone git://github.com/$1/$2.git' -
dn = diff --name-only
ss = !sh -c 'git status -s | cut -c4-'
serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git
recent = branch --sort=-committerdate --format="%(committerdate:relative)%09%(refname:short)"
[push]
default = current
[rerere]
enabled = false