What does git fsck stand for?

GitGit Fsck

Git Problem Overview


What is the meaning in behind the fsck command name?

The documentation of the command does not seem to mention what the name stands for.

Git Solutions


Solution 1 - Git

It stands for File System ChecK. The name is taken from the Unix fsck command, which is used to validate a file system.

Solution 2 - Git

It was first called:

  • fsck-cached (git 0.99), to check the repository for errors
  • then fsck-objects (git 0.99.8), in order to report what exactly is wrong with the object, instead of an ambiguous 'bad sha1 file'.
  • and finally git fsck (git 1.5.0, January 2007)

It reflects that Git was initially built as a file system, with a graph of nodes and git fsck is presented in this GitHub Training as a file system check which verifies integrity and finds corrupt objects.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMaic López SáenzView Question on Stackoverflow
Solution 1 - GitBarmarView Answer on Stackoverflow
Solution 2 - GitVonCView Answer on Stackoverflow