1
  • Git Gui
  • Os: Ubuntu
  • Ruby on rails project

I am getting this confirmation every time on program startup.

This repository currently has approximately 2304 loose objects.

Will pressing 'yes' affect my project in anyways ?

Link to issue screenshot

  • 1
    Behind the scene, if you press "Yes" it runs [`git gc`](https://git-scm.com/docs/git-gc). – axiac Nov 09 '17 at 09:47
  • 1
    Possible duplicate of [What are the "loose objects" that the Git GUI refers to?](https://stackoverflow.com/questions/5709687/what-are-the-loose-objects-that-the-git-gui-refers-to) – 1615903 Nov 09 '17 at 12:06

1 Answers1

2

What are the "loose objects" that the Git GUI refers to? probably will answer this for you. Basically, just press the yes button.

Loose objects are the simpler format. It is simply the compressed data stored in a single file on disk. Every object written to a seperate file.

Matt
  • 13,948
  • 6
  • 44
  • 68
  • Will pressing yes anyway affect my project ? @Matt –  Nov 09 '17 at 10:53
  • 2
    @AbhijithR Yes it will. [In a good way](https://git-scm.com/docs/git-gc). It will take up less space on your disk and improve git's performance. _"Users are encouraged to run this task on a regular basis within each repository to maintain good disk space utilization and good operating performance."_ – Useless Code Nov 09 '17 at 13:11
  • Thankyou for your help –  Nov 10 '17 at 04:52