threads / discuss / 31078

git pull --quiet is not quiet

Subject: git pull --quiet is not quiet

## tl;dr

One message between Jul 24, 2012 and Jul 24, 2012.

replies: 0people: 1as markdown or json

Steven Penny· Jul 24, 2012, 01:56 UTC · lore
I have noticed that
  git pull --quiet
is actually only "quiet" if no problems are found
If unmerged error occurs, output is seen on BOTH stdout and stderr
  $ git pull -q >/dev/null
  Pull is not possible because you have unmerged files.
  Please, fix them up in the work tree, and then use 'git add/rm <file>'
  as appropriate to mark resolution, or use 'git commit -a'.
  $ git pull -q 2>/dev/null
  U       AdobeHDS.php
The --quiet option should at least silence the stdout.

← back to recent threads