scripting - Detecting conflict on git rebase -
i'm coding scripts execute git-rebase , need identify when conflict happened.
git-rebase terminates same exit status every error, can't use exit status detect conflict. directory named rebase-apply
created on conflicts, seems it's implementation detail cannot rely (e.g. in past directory had different name).
is there reliable way detect git-rebase terminated conflict?
well, i've realized can run git status --porcelain
, check if there file "u" in status.
Comments
Post a Comment