1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

git fsck: add page (#3954)

This commit is contained in:
Starbeamrainbowlabs 2020-04-03 09:21:45 +01:00 committed by GitHub
parent fbc01dd463
commit a8e2cd9c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
pages/common/git-fsck.md Normal file
View file

@ -0,0 +1,17 @@
# 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`