Git · Senior · Question 55 of 76

How can you check that a repository's objects are not corrupted?

Explanation

fsck verifies connectivity and object integrity, and lists dangling objects (unreachable commits or blobs), which can also help recover lost work.

Further reading

Problem with a question

Git · Senior · question 55

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz