I consider the output of git-push
to be quite verbose:
$ git push
Enumerating objects: 36, done.
Counting objects: 100% (36/36), done.
Delta compression using up to 8 threads
Compressing objects: 100% (23/23), done.
Writing objects: 100% (26/26), 2.45 KiB | 1.23 MiB/s, done.
Total 26 (delta 19), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (19/19), completed with 8 local objects.
To github.com:DataBiosphere/azul.git
+ 541326b5...69385318 issues/noah-aviel-dove/3372-implicit-source-filter-circumvented -> issues/noah-aviel-dove/3372-implicit-source-filter-circumvented
The only parts of this output I find interesting or useful are:
- The name of the remote repository to which I'm pushing
- The name of the remote branch
- The name of the local branch
- (Not included in the example above) any error messages or warnings
According to this answer, the rest of the output comes from git-count-objects
.
I consider this extra output to be a distracting and obstructive waste of screen space.
I am looking for a way to change the behavior of git-push
that accomplishes two things:
- Suppress or reduce the output from
git-count-objects
- Do not supress the elements of the output that I do find useful (all of the bullet points listed above).
The --quiet
flag fails my second criterion. Is there another way to exert finer control over the output of git-push
?