| ... | ... |
@@ -1,8 +1,8 @@ |
| 1 | 1 |
# Title: .gitconfig |
| 2 | 2 |
# Author: Frédéric CHEVALIER <f15.chevalier@gmail.com> |
| 3 |
-# Version: 0.0 |
|
| 3 |
+# Version: 0.1 |
|
| 4 | 4 |
# Created in: 2021-01-13 |
| 5 |
-# Modified in: |
|
| 5 |
+# Modified in: 2024-04-30 |
|
| 6 | 6 |
|
| 7 | 7 |
|
| 8 | 8 |
|
| ... | ... |
@@ -19,6 +19,7 @@ |
| 19 | 19 |
# Versions # |
| 20 | 20 |
#==========# |
| 21 | 21 |
|
| 22 |
+# v0.1 - 2024-04-30: update init and credential options |
|
| 22 | 23 |
# v0.0 - 2021-01-13: creation |
| 23 | 24 |
|
| 24 | 25 |
|
| ... | ... |
@@ -38,7 +39,14 @@ |
| 38 | 39 |
# General config # |
| 39 | 40 |
#================# |
| 40 | 41 |
|
| 42 |
+[init] |
|
| 43 |
+ defaultBranch = main |
|
| 44 |
+ |
|
| 45 |
+[credential] |
|
| 46 |
+ helper = cache |
|
| 47 |
+ |
|
| 41 | 48 |
[push] |
| 42 | 49 |
default = simple |
| 50 |
+ |
|
| 43 | 51 |
[http] |
| 44 | 52 |
sslVerify = true |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,44 @@ |
| 1 |
+# Title: .gitconfig |
|
| 2 |
+# Author: Frédéric CHEVALIER <f15.chevalier@gmail.com> |
|
| 3 |
+# Version: 0.0 |
|
| 4 |
+# Created in: 2021-01-13 |
|
| 5 |
+# Modified in: |
|
| 6 |
+ |
|
| 7 |
+ |
|
| 8 |
+ |
|
| 9 |
+#==========# |
|
| 10 |
+# Comments # |
|
| 11 |
+#==========# |
|
| 12 |
+ |
|
| 13 |
+# ~/.gitconfig: executed when running git |
|
| 14 |
+# see https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration |
|
| 15 |
+ |
|
| 16 |
+ |
|
| 17 |
+ |
|
| 18 |
+#==========# |
|
| 19 |
+# Versions # |
|
| 20 |
+#==========# |
|
| 21 |
+ |
|
| 22 |
+# v0.0 - 2021-01-13: creation |
|
| 23 |
+ |
|
| 24 |
+ |
|
| 25 |
+ |
|
| 26 |
+#======================# |
|
| 27 |
+# User specific config # |
|
| 28 |
+#======================# |
|
| 29 |
+ |
|
| 30 |
+[include] |
|
| 31 |
+ path = .gitconfig-pro |
|
| 32 |
+[includeIf "gitdir:perso/"] |
|
| 33 |
+ path = .gitconfig-perso |
|
| 34 |
+ |
|
| 35 |
+ |
|
| 36 |
+ |
|
| 37 |
+#================# |
|
| 38 |
+# General config # |
|
| 39 |
+#================# |
|
| 40 |
+ |
|
| 41 |
+[push] |
|
| 42 |
+ default = simple |
|
| 43 |
+[http] |
|
| 44 |
+ sslVerify = true |