A script to modify creation time flags in Gitea to match the oldest Git commit. https://code.ivysaur.me/update-gitea-ctimes
php
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
mappu 38582f431e initial commit 4 个月前
doc initial commit 4 个月前
.gitignore initial commit 4 个月前
README.md initial commit 4 个月前
update-gitea-ctimes initial commit 4 个月前

README.md

update-gitea-ctimes

A script to modify creation time flags in Gitea to match the oldest Git commit.

This is helpful for ordering repositories chronologically by creation-time after a migration to Gitea (e.g. for teafolio).

Written in PHP

Usage

Usage: update-gitea-ctimes gitea.db path/to/repositories

Running the command will produce SQL on stdout that can be manually inspected before applying it to the live SQLite database.