當你遇到 gitlab 通知有 repo fsck failed 時,請使用以下指令解決
cd /var/opt/gitlab/git-data/repositories/$repostory_diractory
/opt/gitlab/embedded/bin/git commit-graph write
/opt/gitlab/embedded/bin/git commit-graph verify
/opt/gitlab/embedded/bin/git -C ./ fsck
當你遇到 gitlab 通知有 repo fsck failed 時,請使用以下指令解決
cd /var/opt/gitlab/git-data/repositories/$repostory_diractory
/opt/gitlab/embedded/bin/git commit-graph write
/opt/gitlab/embedded/bin/git commit-graph verify
/opt/gitlab/embedded/bin/git -C ./ fsck