I’m using a git hook to prevent any of that from reaching my commits instead of relying on LLMs.
#!/bin/sh
if grep -qi "co-authored-by" "$1"; then
echo "error: commit message contains 'Co-authored-by'. Commit rejected." >&2
exit 1
fiI’m using a git hook to prevent any of that from reaching my commits instead of relying on LLMs.
#!/bin/sh
if grep -qi "co-authored-by" "$1"; then
echo "error: commit message contains 'Co-authored-by'. Commit rejected." >&2
exit 1
fi
bdangubic•1h ago
akktor•1h ago
> and trying to hide it from someone?!
I think that nowadays, by default, you automatically assume that something has been written with the help of AI, so I don't think this is a valid point or concern.
bdangubic•1h ago
akktor•1h ago
I've been using OpenCode for most of my AI coding lately and it never co-authors commits. According to your reasoning, every person using OpenCode is lying?