I want to mute the output of a git push command used in my CI system which may leak sensitive information.
The command is:
git --quiet push > /dev/null 2>&1
so it should not print anything to the screen. But it still prints Password for 'https://xxxx@github.com': when auth fails.
How could this happen and how to mute it?
Update:
Though I am not sure, I guess git calls getpass() or something similar that writes to /dev/tty directly.