git/list[1] front-page[2] threads[3] people[4] search[5] about
 

--filter=blob:none in GIT config

From
SFSylvain Fardeau <sylvain.fardeau@free.fr>
Date
Apr 3, 2025, 20:55 UTC
Message-ID
<76775176-b7ee-4361-82a8-70b7d7701ee2@free.fr>
Dear GIT team,

I was wondering if GIT roadmap plans to allow setting clone option "--filter=blob:none" as default in GIT configuration?

Didn't find a way in GITconfig, see :
https://stackoverflow.com/questions/76770003/is-there-a-way-to-configure-git-to-clone-with-filter-blobnone-by-default 
Would be very useful for developments using binary files :
https://stackoverflow.com/questions/79550931/cleanup-binary-files-in-git-repository-before-a-given-date
Thanks for your feedback & incredible work!
Regards,
Sylvain
Next: brian m. carlson
Message 1 of 2 in “--filter=blob:none in GIT config”
  1. Sylvain FardeauApr 3, 2025
  2. brian m. carlsonApr 3, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.