mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 13:50:42 +00:00
Update cheatsheets
This commit is contained in:
22
git-fsck
Normal file
22
git-fsck
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user