-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
58 lines (47 loc) · 1.28 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
#####
# ~/.gitconfig -- user git configuration file
#
# @author Pat Gaffney <[email protected]>
#
# The presence of this file overrides the system (--system)
# defaults, located in /etc/gitconfig. The settings in this file
# can be overwritten on a project level by adding configurations
# to the .git/config file in a repository.
#
#####################################################################
[user]
name = Pat Gaffney
email = [email protected]
signingkey = C49DCBA1D82E5A09
# Include my Work-specific .gitconfig
[includeIf "gitdir:~/work/**"]
path = ~/work/.gitconfig
[alias]
aa = add --all
st = status
co = checkout
br = branch
up = rebase
cm = commit
set = branch -u
last = log -1 HEAD
hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
undo = reset HEAD~
[core]
editor = subl --wait --stay
excludesfile = /Users/pat/.gitignore
[push]
default = simple
[gpg]
program = gpg
[commit]
gpgsign = true
[branch]
autosetuprebase = always
[credential]
helper = osxkeychain
[init]
defaultBranch = main
# Required for pulling down private go modules.
[url "ssh://[email protected]/"]
insteadOf = https://github.com/