Is it safe to delete Git LFS objects?

<repo>/.git/lfs · Check first

What it is

Large files Git LFS downloaded for a repository.

Can you delete it?

Sometimes, check what is inside first. Old versions can be pruned; files referenced by the current checkout are needed.

How to clean it safely

  1. Run: git lfs prune

Step-by-step guide: Developer caches on a Mac →

Questions

Is it safe to delete <repo>/.git/lfs?

Sometimes, check what is inside first. Old versions can be pruned; files referenced by the current checkout are needed.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac