[SGVLUG] A command I hope you *never* have to run

Michael Starch via SGVLUG sgvlug at sgvlug.net
Wed Mar 27 09:17:13 PDT 2019


Some other things to point out:

git gc  # Removes superfluous  objects.  Can help clean up if you make a
bunch of commits, you then abandon (deleting branches you don't need).
git fsck # Git integrity check. Can help with errors.

If you get to the point of a corrupt repo, back it up, follow the above
link, and consider running the gc and fsck to clean as much as possible
before pushing back to bare.

-Michael


On Tue, Mar 26, 2019 at 11:00 PM Dan Kegel via SGVLUG <sgvlug at sgvlug.net>
wrote:

> Wheee!
> Thanks for sharing that hair-raising story.
> - Dan
>
> p.s.
> What's cross_fingers ?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sgvlug.net/pipermail/sgvlug/attachments/20190327/00ba0af6/attachment.html>


More information about the SGVLUG mailing list