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

git non-intrusive clone

From
LCLuca Di Carlo <luca@dicarlo.email>
Date
Oct 7, 2026, 08:40 UTC
Message-ID
<e30c5b13-5ca3-43d1-a87a-d807b71bad7b@app.fastmail.com>

Hey everyone, I am reading more and more blog posts about job interviews that require the people to git clone a malicious repo with commands executed using git hooks. I wonder if we could have a `git clone --non-intrusive ...` That would disable all git settings set within the repo. Maybe by adding a `.nogitconfig` file or something, so that the developers remember that because of this file, he cannot push or fetch, or use any `.git/` defined stuff.

I hope this is the right channel, sorry if it's not. 

Thank you for all your work, Kind regards Luca

Cordialement Luca Di Carlo

Next: D. Ben Knoble
Message 1 of 5 in “git non-intrusive clone”
  1. Luca Di CarloOct 7, 2026
  2. D. Ben KnobleOct 7, 2026
  3. Luca Di CarloOct 7, 2026
  4. D. Ben KnobleOct 7, 2026
  5. Nico WilliamsOct 7, 2026

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.