@@ -83,8 +83,7 @@ The first option to discuss is the `SIGNING_KEY`. There are three main
83
83
options:
84
84
85
85
- ` none ` - this prevents Gitea from signing any commits
86
- - ` default ` - Gitea will default to the key configured within
87
- ` git config `
86
+ - ` default ` - Gitea will default to the key configured within ` git config `
88
87
- ` KEYID ` - Gitea will sign commits with the gpg key with the ID
89
88
` KEYID ` . In this case you should provide a ` SIGNING_NAME ` and
90
89
` SIGNING_EMAIL ` to be displayed for this key.
@@ -98,6 +97,11 @@ repositories, `SIGNING_KEY=default` could be used to provide different
98
97
signing keys on a per-repository basis. However, this is clearly not an
99
98
ideal UI and therefore subject to change.
100
99
100
+ ** Since 1.17** , Gitea uses its internal git config (instead of current user's ` {UserHome}/.gitconfig ` for < 1.17).
101
+ If you have your own customized git config for Gitea, you should set these configs in system git config (aka ` /etc/gitconfig ` )
102
+ or the Gitea internal git config (aka ` {[repository].ROOT}/.gitconfig ` ).
103
+
104
+
101
105
### ` INITIAL_COMMIT `
102
106
103
107
This option determines whether Gitea should sign the initial commit
@@ -118,7 +122,7 @@ The possible values are:
118
122
119
123
- ` never ` : Never sign
120
124
- ` pubkey ` : Only sign if the user has a public key
121
- - ` twofa ` : Only sign if the user logs in with two factor authentication
125
+ - ` twofa ` : Only sign if the user logs in with two- factor authentication
122
126
- ` parentsigned ` : Only sign if the parent commit is signed.
123
127
- ` always ` : Always sign
124
128
@@ -132,7 +136,7 @@ editor or API CRUD actions. The possible values are:
132
136
133
137
- ` never ` : Never sign
134
138
- ` pubkey ` : Only sign if the user has a public key
135
- - ` twofa ` : Only sign if the user logs in with two factor authentication
139
+ - ` twofa ` : Only sign if the user logs in with two- factor authentication
136
140
- ` parentsigned ` : Only sign if the parent commit is signed.
137
141
- ` always ` : Always sign
138
142
@@ -146,7 +150,7 @@ The possible options are:
146
150
147
151
- ` never ` : Never sign
148
152
- ` pubkey ` : Only sign if the user has a public key
149
- - ` twofa ` : Only sign if the user logs in with two factor authentication
153
+ - ` twofa ` : Only sign if the user logs in with two- factor authentication
150
154
- ` basesigned ` : Only sign if the parent commit in the base repo is signed.
151
155
- ` headsigned ` : Only sign if the head commit in the head branch is signed.
152
156
- ` commitssigned ` : Only sign if all the commits in the head branch to the merge point are signed.
0 commit comments