Git development
 help / color / mirror / Atom feed
* git non-intrusive clone
@ 2026-10-07  8:40 Luca Di Carlo
  2026-10-07 18:54 ` D. Ben Knoble
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Di Carlo @ 2026-10-07  8:40 UTC (permalink / raw)
  To: git

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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-07 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07  8:40 git non-intrusive clone Luca Di Carlo
2026-10-07 18:54 ` D. Ben Knoble
2026-10-07 19:19   ` Luca Di Carlo
2026-10-07 19:50     ` D. Ben Knoble
2026-10-07 20:26       ` Nico Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox