---
title: "Error with git:  Please correct the root cause  and remove gc.log"
date: "2025-02-05T23:24:06+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/92786-error-git-please-correct-root-cause-and-remove-gclog"
id: "cc5d1e95-335f-473c-96be-e7587ce463a2"
---

**Issue**
---------

When you push new commits, GIT returns this error message

    error: The last gc run reported the following. Please correct the root cause 
    and remove gc.log. 
    Automatic cleanup will not be performed until the file is removed.
    
    warning: There are too many unreachable loose objects; run 'git prune' to remove them.

**Resolution**
--------------

Open a Support ticket and ask for **gc.log** to be removed and to run \`**git prune**\`.