Skip to content

Commit

Permalink
git fsck: add page (#3954)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl authored Apr 3, 2020
1 parent fbc01dd commit a8e2cd9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pages/common/git-fsck.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit a8e2cd9

Please sign in to comment.