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