sudo gitlab-rake gitlab:git:fsck

Category: GitLab

sudo gitlab-rake gitlab:git:fsck

Check repository integrity with fsck

Runs the git fsck integrity check over repositories, finding corrupt objects and dangling commits. Corrupt repositories can break clones and pushes. Fix issues found before they spread through replication.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.