Sitemap
Gourav Mehta

Gourav Mehta

Founding Member and VP-Technology and Innovation at Teeoff Technologies Private Limited

Git GC

1 min readJan 15, 2019

Git repositories accumulate various types of garbage like “orphaned” or inaccessible commits. Executing git gc tells Git to clean up the mess it’s made in the current repository, hence the name “garbage collection.” In addition to detached commit clean up, git gc will also perform compression on stored Git objects, freeing up precious disk space. Learn everything you need to know about git gc in this advanced Git tutorial.

Get Gourav Mehta’s stories in your inbox

Join Medium for free to get updates from this writer.

For more info refer

https://www.atlassian.com/git/tutorials/git-gc?utm_source=newsletter&utm_medium=email&utm_campaign=bitbucket_git-insiders-january-2019&jobid=103893845&subid=1283411323

--

--

Gourav Mehta
Gourav Mehta

Written by Gourav Mehta

Founding Member and VP-Technology and Innovation at Teeoff Technologies Private Limited