# stdout vs stderr

1 messages from 2016-02-15 to 2016-02-15. Participants: Florian Lohoff.
Thread: https://gitlist.dev/t/41412

## Florian Lohoff, 2016-02-15 09:59

Subject: stdout vs stderr
Message-ID: <20160215095913.GB27034@pax.zz.de>
URL: https://gitlist.dev/e/20160215095913.GB27034%40pax.zz.de

```

Hi,
is there a reason why those messages for pull are sent to stdout and
for push are sent to stderr?

flo@p3:~$ git pull
Already up-to-date.
flo@p3:~$ git pull >/dev/null

flo@p3:~$ git push
Everything up-to-date
flo@p3:~$ git push >/dev/null
Everything up-to-date

I am regularly trying to build automatisms around git and typically i
redirect stdout to /dev/null in the hope that when something goes
wrong i see error messages on stderr. This does not work for e.g. push
for obvious reason.

Flo
-- 
Florian Lohoff                                                 f@zz.de
      We need to self-defend - GnuPG/PGP enable your email today!

```
