The git __________ command is essential for maintaining the integrity and performance of a large repository by cleaning up redundant data.

  • git prune
  • git reset
  • git clean
  • git gc
The git gc (garbage collection) command is crucial for optimizing a Git repository by cleaning up unnecessary files and optimizing the repository's data structure. It helps in reducing repository size and improving performance.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *