Closed apaleslimghost closed 5 years ago
Worth noting that if we're going to have some kind of "preview changes" functionality, then splitting run-script
into multiple operations is essential as I'd imagine that the previewing step would slot in between the script being run and the branches being pushed.
to better facilitate incremental undos. i think it makes sense for it to be three separate steps:
clone
, which takesrepos
and outputsclones
run-script
, takesclones
and outputslocal-branches
push
, takeslocal-branches
and outputsremote-branches
(this does run the risk of introducing more concepts #55)