> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Clearing Git Cache

There are security measures set on each deployment. They are placed in such a way they can perform a scan on each users script. When users sync codes to linked repository (github , gitlab etc) , the script maybe tagged as\*\*"sensitive information"\*\*and will be denied to the push request.

Even after completely wiping the script and starting over with the code to avoid this error, they are still unable to push to the github, gitlab etc. This would tell us there are still remnants of the code initially scanned by the organizations security measures .

We can address this by simply removing git cache.

The easiest way to clear your Git cache is to use the *git rm* command with the --*cached* option.

We can also use :

```
> git rm -r --cached .
> git add .
> git commit -m 'git cache cleared'
> git push
```


## Related topics

- [Troubleshooting](/knowledge-base/troubleshooting-overview.md)
- [Unexpected error when authenticating with identity provider: duplicate key value violates unique constraint "constraint_40"](/knowledge-base/unexpected-error-when-authenticating-with-identity-provider-duplicate-key-value-violates-unique-constraint-constraint-40.md)
- [Advanced Flows](/cloud/platform-capabilities/features/flows/advanced-flows.md)
- [Manage a hardware tier](/cloud/admin/infrastructure-and-compute/manage-compute-resources/hardware-tiers/manage-hardware-tier.md)
