mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 07:15:27 +02:00
git-fsck: add examples (#16601)
This commit is contained in:
parent
b3ecaeeb96
commit
22162dd66f
1 changed files with 8 additions and 0 deletions
|
@ -16,3 +16,11 @@
|
|||
- List all root nodes found:
|
||||
|
||||
`git fsck --root`
|
||||
|
||||
- Show all unreachable and dangling objects, ignore reflogs, and perform a full integrity check:
|
||||
|
||||
`git fsck --dangling --no-reflogs --unreachable --full`
|
||||
|
||||
- Check connectivity only (skip object integrity verification):
|
||||
|
||||
`git fsck --connectivity-only`
|
||||
|
|
Loading…
Add table
Reference in a new issue