-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
63 lines (63 loc) · 1.42 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
52
53
54
55
56
57
58
59
60
61
62
63
[user]
email =
name =
signingkey =
[core]
editor = nvim
longpaths = true
# for Windows with ssh-agent configured
# https://superuser.com/questions/1327633/how-to-maintain-ssh-agent-login-session-with-windows-10s-new-openssh-and-powers
# sshCommand = C:/Windows/System32/OpenSSH/ssh.exe
[commit]
gpgSign = true
[tag]
forceSignAnnotated = true
[sendemail]
smtpServer = smtp.gmail.com
smtpServerPort = 587
smtpEncryption = tls
smtpUser =
smtpPass =
[gpg]
program = gpg
[gui]
pruneduringfetch = true
encoding = UTF-8
[push]
recurseSubmodules = check
[gc]
autoDetach = false
[pull]
rebase = true
[log]
mailmap = true
[credential]
helper = store
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[alias]
pl = pull
sl = shortlog
c = commit
cm = commit -m
cam = commit -am
camm = commit --amend
psf = push --force-with-lease
pst = push --follow-tags
rmt = remote
st = status
br = branch
rb = rebase
sh = stash
ps = push
cl = clone
sw = switch
undo = reset HEAD~
fm = format-patch
se = send-email
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --use-mailmap
lgd = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -p --use-mailmap