Skip to content

Commit 994d2df

Browse files
committed
gitconfig now sources ~/.gitprivate for private data
You can now put private github user information in .gitprivate (eg github user tokens or user email information) to prevent it from being in a version controlled file.
1 parent e079353 commit 994d2df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gitconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@
4141
safecrlf = true
4242
[push]
4343
default = matching
44+
[include]
45+
# Add private configurations (eg github tokens) to the .gitprivate file
46+
# This requires (at minimum) git 1.7.10
47+
path = .gitprivate

0 commit comments

Comments
 (0)