I am trying to use gfold to answer a question for a (very large) tree of git repositories: "Is there anything that has not been pushed to the authoritative origin?"
The default output of gfold allows me to determine an answer ("unclean", "unpushed") - but, alas, the default output is very large.
I am unable to locate a built-in means to filter gfold output such that only those repositories are listed where the status is not "clean". I do see an option to emit JSON and then filter on that using, say,
gfold --display-mode json | jq ' .[] | select( .status | contains("Clean")==false ) '
but the output from that is JSON and ... I am still human and prefer nice(r) output.
Is there any means to accomplish natively within gfold what the above tries to do?
I am trying to use
gfoldto answer a question for a (very large) tree of git repositories: "Is there anything that has not been pushed to the authoritative origin?"The default output of
gfoldallows me to determine an answer ("unclean", "unpushed") - but, alas, the default output is very large.I am unable to locate a built-in means to filter
gfoldoutput such that only those repositories are listed where the status is not "clean". I do see an option to emit JSON and then filter on that using, say,but the output from that is JSON and ... I am still human and prefer nice(r) output.
Is there any means to accomplish natively within
gfoldwhat the above tries to do?