Output of git checkout goes to stderr
- From
- Sayooj Surendran <sayooj.surendran@bigbinary.com>
- Date
- Jul 30, 2024, 05:44 UTC
- Message-ID
- <CAFGW38fkr+OuhpcyqNFxZNkhNDGPxTbOmCJLVHpCGUmbj05tMg@mail.gmail.com>
Hi, Noticed that the output of git checkout command is going to stderr channel. Is this an intended behaviour? git version: 2.45.2 terminal output:
❯ git checkout -b test > stdout.txt 2> stderr.txt ❯ cat stdout.txt ❯ cat stderr.txt Switched to a new branch 'test'