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.
More information: https://git-scm.com/docs/git-fsck.
- Check the current repository:
git fsck
- List all tags found:
git fsck --tags
- List all root nodes found:
git fsck --root
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.