I use the git status --porcelain
command to check the status of a local repository in Deno, it parses this command and returns an array with modified / unchanged / untracked files. Which works great! But I also want to do the same for git pull
, I'd like to return something, an boolean
, string
or maybe Enum
, I really don't know yet.
The problem is I can't get a clean, simple response that is script friendly and can be parsed by Deno consistently (which is the exact point of the --porcelain
option if I understood it correctly). Which is why I am asking: is there a --porcelain
like option for git pull
?