-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
46 lines (46 loc) · 983 Bytes
/
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
[init]
defaultBranch = main
templatedir = ~/.git_template
[push]
default = current
autoSetupRemote = true
[color]
ui = auto
[alias]
aa = add --all
ap = add --patch
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
ci = commit -v
co = checkout
pf = push --force-with-lease
st = status
gclean= git branch | grep -v $(git_default_branch) | xargs git branch -D
cis = commit -S
[core]
excludesfile = ~/.gitignore
autocrlf = input
[merge]
ff = only
[commit]
template = ~/.gitmessage
gpgSign = true
verbose = true
[fetch]
prune = true
[rebase]
autosquash = true
[include]
path = ~/.gitconfig.local
[diff]
colorMoved = zebra
[user]
signingkey = BAEABAC669400D95
email = [email protected]
[tag]
gpgSign = true
[safe]
directory = /app
directory = /app
directory = /app
directory = /app
directory = /app