git fsck
Verify the validity and connectivity of nodes in a Git repository index.
Does not make any modifications. See `git gc` for cleaning up dangling blobs.
- Check the current repository:
git fsck
- List all tags found:
git fsck --tags
- List all root nodes found:
git fsck --root
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).