System Grab Bag

View all TLDR pages from common (or from all pages)

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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.