Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_fsck [2019/03/06 09:36] rpjdaygit_fsck [2019/03/12 15:21] (current) – [Overview] rpjday
Line 1: Line 1:
 ===== Overview ===== ===== Overview =====
  
-Using ''git fsck'' to display dangling and unreachable objects.+Using ''git fsck'' to display dangling and unreachable objects (should cover reflog first). 
 + 
 +Check: 
 + 
 +  * Does ''%%--%%lost-found'' save blobs? Don't think so.
  
 ===== SYNOPSIS ===== ===== SYNOPSIS =====
Line 18: Line 22:
  
 <code> <code>
-                A<-----B<-----C+                A<-----B<-----C   [no reference to this]
                /                /
               /               /
Line 24: Line 28:
 </code> </code>
  
-If nothing points at C, then all of A, B and C are unreachable, but only C is dangling.+  * unreachable: A, Band C 
 +  * dangling: C only
  
 ===== OPTIONS ===== ===== OPTIONS =====
Line 48: Line 53:
 </code> </code>
  
-''%%--%%unreachable'' overrides ''%%--%%no-dangling''.+Note that ''%%--%%unreachable'' overrides ''%%--%%no-dangling''.
  
 ===== Examples ===== ===== Examples =====
  • git_fsck.1551864969.txt.gz
  • Last modified: 2019/03/06 09:36
  • by rpjday