binkley / shell

Helpful shell scripts and programs
Other
12 stars 1 forks source link

Git TDD should use pre-push hook to prevent WIP #6

Open binkley opened 7 years ago

binkley commented 7 years ago

Do not send WIP commits to upstream without accepting first. Use a git pre-push hook.

binkley commented 7 years ago

git-tdd now recovers from a failed push, restoring to WIP state and bumping the test number (because tdd.acceptCommand succeeded before the push).