In the case of a corrupted repository, what Git command can be used to verify the integrity of the repository?

  • git fsck
  • git verify
  • git check
  • git integrity
The correct command is git fsck, which stands for file system check. It checks the integrity of objects in the repository and can help identify and fix issues in a corrupted repository.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *