News for hackers. Stuff that matters.
Re:Claude Code runs Git reset –hard origin/main against proj... by bruce_one on Sunday March 29, 2026 @09:14PM (#47569324)
eBPF is a great tool to use for debugging this kind of thing too, e.g. [bpftrace](https://bpftrace.org) has an [execsnoop](https://github.com/bpftrace/bpftrace/blob/master/tools/execs...) script for looking at everything being exec'd on the system :-)

(No need to use bpftrace, just an easy example :-) )

Re:Claude Code runs Git reset –hard origin/main against proj... by repiret on Sunday March 29, 2026 @09:31PM (#47569437)
Or just `strace`.
Re:Claude Code runs Git reset –hard origin/main against proj... by raddan on Sunday March 29, 2026 @10:31PM (#47569772)
Seconded. Way simpler than BPF, especially when all you want to see is syscalls.