garbage collection following a "git remote rm"?
From: Robert P. J. Day <hidden>
Date: 2018-09-15 14:31:08
i've never checked before, but i assume that if i add a remote, then
fetch from it and subsequently remove that remote, all of the
now-unreferenced remote tracking branches in the object store will
eventually be discarded by garbage collection, yes?
is there a command (git fsck?) that would display exclusively
objects in the object store corresponding to objects that are suddenly
unreferenced due to the removal of a remote? i was just curious as it
would be neat to demo that in a class.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca/dokuwiki
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================