You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
# Git Commit Email Privacy in 5 Minutes:<br> <sub>automatic no-reply email, `useConfigOnly`, and conditional `includeIf`</sub>
2
2
3
-
<!-- _**UPD:** The most up-to-date config version is now here: https://github.com/anydigital/git-commit-email-privacy_
4
-
5
-
--- -->
3
+
<!--@reddit: _**UPD:** The most up-to-date config version is now here: https://github.com/anydigital/git-commit-email-privacy_ -->
6
4
7
5
Exposing your commit email is easy; rewriting Git history is hard.
8
6
@@ -20,7 +18,9 @@ But there's a set-and-forget solution to ensure your Git privacy.
20
18
21
19
You'll need the following configuration files. Replace all `PLACE_HOLDER` values with your actual information.
22
20
23
-
<!-- _The most up-to-date config version is now here: https://github.com/anydigital/git-commit-email-privacy_ -->
21
+
_**NOTE:** You have to split the `.gitconfig` into multiple files to avoid issues with `[includeIf]`, as explained in https://stackoverflow.com/a/74012889/5034198_
22
+
23
+
<!--@reddit: _The most up-to-date config version is now here: https://github.com/anydigital/git-commit-email-privacy_ -->
24
24
25
25
### `.gitconfig`
26
26
@@ -99,16 +99,13 @@ Shouldn't this be the default configuration for every developer?
Open discussion: https://www.reddit.com/r/git/comments/1pf94nt/how_to_avoid_exposing_your_commit_email_private/
105
103
106
104
## Credits
107
105
108
106
https://stackoverflow.com/a/74012889/5034198
109
107
110
108
---
111
109
112
-
_**UPD:** Had to split the `.gitconfig` into multiple files to avoid issues with `[includeIf]`, as explained in https://stackoverflow.com/a/74012889/5034198_
110
+
_✨ if YOU found this useful — give a [star on GitHub](https://github.com/anydigital/git-commit-email-privacy) or simply [join TricksForGeeks on Reddit](https://www.reddit.com/r/TricksForGeeks/) for more ✨_
113
111
114
-
_**UPD:** The most up-to-date config version is now here: https://github.com/anydigital/git-commit-email-privacy_
0 commit comments