1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/git-fsck.md
Vítor Henrique 4f75ffc1db
pages*: make "See also" conform to the new syntax (#12756) (#12354)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: spageektti <git@spageektti.cc>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-06-03 22:21:58 +02:00

18 lines
369 B
Markdown

# git fsck
> Verify the validity and connectivity of nodes in a Git repository index.
> Does not make any modifications.
> See also: `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`