Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Git displayed "removing duplicate objects" after I merged a branch to another and noticed my .git/objects folder has significantly reduced (from 40.7 MB to 33.5 MB).
Isn't branch just supposed to be a pointer, so why git needs to delete some objects?
What actually happened there?
Is it simply git's natural behavior?

share|improve this question
    
I'm not sure but this sounds like the "garbage collection" it does periodically, which can be invoked manually with git gc. –  Ixrec Jun 18 at 22:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.