-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
24 lines (24 loc) · 619 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
# This is common git config across all my machines
[user]
name = Emerson Knapp
email = [email protected]
[init]
templatedir=~/.git-templates/
defaultBranch = main
[alias]
co = checkout
pushf = push --force-with-lease
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
[core]
pager = less -F -X
hooksPath = ~/.git-templates/hooks
[diff]
tool = meld
[url "[email protected]:"]
insteadOf = git://github.com/
[url "[email protected]:"]
insteadOf = https://github.com/
[pull]
ff = only
[hub]
protocol = ssh