From: Baptiste Chocot Date: Fri, 09 Jul 2021 11:59:47 GMT Subject: Troubles redirecting git output Message-ID: <57ebeb1d-f467-6cbd-5ad9-a55cf04dde34@gmail.com> Hello guys, hope you're doing great. I'm reaching out today because I cannot find a fix for my issue. I'm using git 2.25.1 from the debian repo. I'm having difficulties to redirect git stderr, here is an example: --- $ git init Initialized empty lol/.git/ $ git branch >&2 2>/dev/null fatal: your current branch 'master' does not have any commits yet --- Is this an expected behavior? I find it weird not to be able to silent git. Are you aware of a workaround? I've been browsing a bit but did not find an answer yet. Thanks for your time! Baptiste