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
* upstream/main:
Fix `@font-face` overrides (go-gitea#24855)
Fix logger refactoring regression: manager logging add (go-gitea#24847)
Remove publish docs CI workflow (go-gitea#24889)
Fix double border and adjust width for user profile page (go-gitea#24870)
Support changing git config through `app.ini`, use `diff.algorithm=histogram` by default (go-gitea#24860)
Fix flakey test in logger test (go-gitea#24883)
Run stylelint on .vue files (go-gitea#24865)
Update `CONTRIBUTING.md` (go-gitea#24492)
Do not call nil handler for a dummy queue (go-gitea#24880)
Remove unnecessary usage prefix from doc titles (go-gitea#24869)
Add API for Label templates (go-gitea#24602)
# Conflicts:
# .stylelintrc.yaml
# web_src/css/font_i18n.css
;; This section only does "set" config, a removed config key from this section won't be removed from git config automatically. The format is `some.configKey = value`.
@@ -1068,6 +1063,18 @@ Default templates for project boards:
1068
1063
-`PULL`: **300**: Git pull from internal repositories timeout seconds.
1069
1064
-`GC`: **60**: Git repository GC timeout seconds.
1070
1065
1066
+
### Git - Reflog settings (`git.reflog`)
1067
+
1068
+
-`ENABLED`: **true** Set to true to enable Git to write changes to reflogs in each repo.
1069
+
-`EXPIRATION`: **90** Reflog entry lifetime, in days. Entries are removed opportunistically by Git.
1070
+
1071
+
### Git - Config options (`git.config`)
1072
+
1073
+
The key/value pairs in this section will be used as git config.
1074
+
This section only does "set" config, a removed config key from this section won't be removed from git config automatically. The format is `some.configKey = value`.
1075
+
1076
+
-`diff.algorithm`: **histogram**
1077
+
1071
1078
## Metrics (`metrics`)
1072
1079
1073
1080
-`ENABLED`: **false**: Enables /metrics endpoint for prometheus.
Copy file name to clipboardexpand all lines: docs/content/doc/administration/customizing-gitea.en-us.md
+16
Original file line number
Diff line number
Diff line change
@@ -282,6 +282,22 @@ Place custom files in corresponding sub-folder under `custom/options`.
282
282
283
283
To add custom .gitignore, add a file with existing [.gitignore rules](https://git-scm.com/docs/gitignore) in it to `$GITEA_CUSTOM/options/gitignore`
284
284
285
+
## Customizing the git configuration
286
+
287
+
Starting with Gitea 1.20, you can customize the git configuration via the `git.config` section.
288
+
289
+
### Enabling signed git pushes
290
+
291
+
To enable signed git pushes, set these two options:
292
+
293
+
```ini
294
+
[git.config]
295
+
receive.advertisePushOptions = true
296
+
receive.certNonceSeed = <randomstring>
297
+
```
298
+
299
+
`certNonceSeed` should be set to a random string and be kept secret.
300
+
285
301
### Labels
286
302
287
303
Starting with Gitea 1.19, you can add a file that follows the [YAML label format](https://github.com/go-gitea/gitea/blob/main/options/label/Advanced.yaml) to `$GITEA_CUSTOM/options/label`:
Copy file name to clipboardexpand all lines: docs/content/doc/usage/profile-readme.en-us.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
---
2
2
date: "2023-03-02T21:00:00+05:00"
3
-
title: "Usage: Gitea Profile READMEs"
3
+
title: "Profile READMEs"
4
4
slug: "profile-readme"
5
5
weight: 12
6
6
toc: false
7
7
draft: false
8
8
menu:
9
9
sidebar:
10
10
parent: "usage"
11
-
name: "Gitea Profile READMEs"
11
+
name: "Profile READMEs"
12
12
weight: 12
13
13
identifier: "profile-readme"
14
14
---
15
15
16
-
# Gitea Profile READMEs
16
+
# Profile READMEs
17
17
18
18
To display a markdown file in your Gitea profile page, simply make a repository named ".profile" and edit the README.md file inside. Gitea will automatically pull this file in and display it above your repositories.
0 commit comments