Skip to content

Commit bf23d54

Browse files
committed
Extend global git configuration
1 parent ce48eae commit bf23d54

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.bash_profile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export PATH=/usr/local/bin:"${HOME}"/.local/bin:"${PATH}"
1+
export PATH="${HOME}"/.local/bin:"${PATH}"
22

33
# Sandbox homebrew on macOS
44
# See https://gist.github.com/pudquick/29bc95b6c49703992981864e48f8e341

.config/git/config

+14-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Show the user email for the current repository.
77
whoami = config user.email
8-
df = diff --word-diff=color
8+
df = diff --word-diff=color
99

1010
[apply]
1111

@@ -64,8 +64,6 @@
6464
# Detect copies as well as renames.
6565
renames = copies
6666

67-
[diff]
68-
6967
# Detect moved blocks of code and style them differently
7068
colorMoved = default
7169

@@ -83,6 +81,8 @@
8381

8482
# Include summaries of merged commits in newly created merge commit messages
8583
log = true
84+
tool = vimdiff
85+
conflictstyle = diff3
8686

8787
[push]
8888

@@ -100,8 +100,19 @@
100100
fsckobjects = true
101101

102102
[mergetool]
103+
103104
keepBackup = false
105+
prompt = false
104106

105107
[init]
106108

107109
defaultBranch = main
110+
111+
[commit]
112+
113+
gpgsign = true
114+
115+
[tag]
116+
117+
gpgSign = true
118+

0 commit comments

Comments
 (0)