Skip to content

Commit

Permalink
mirrors/repo: Add git [safe] settings for daemons
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Sep 19, 2024
1 parent cd5ef9d commit c4e3169
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/services/mirrors/repos.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
allowfilter = true
```

由于 git daemon/fcgiwrap 的用户不是 mirror,所以需要设置绕过 git 新的安全限制:

```ini title="/etc/gitconfig"
[safe]
directory = *
```

## 移动(删除)一个仓库

!!! note
Expand Down

0 comments on commit c4e3169

Please sign in to comment.