git-replay icon indicating copy to clipboard operation
git-replay copied to clipboard

stage: require start point and branch

Open olets opened this issue 3 years ago • 0 comments

Currently you can config

stage:
  start-point:
    - my-branch

The result will be

% git replay
Resetting 0 to master
git checkout -B 0 master
Switched to a new branch '0'
Replay complete
% git branch --show-current 
0

Enforce the necessary depth. The above configuration should give an error (based on git-replay's existing error messages). Should have to be something like

stage:
  start-point:
    branch: commit

olets avatar Oct 06 '21 22:10 olets