3 ms·
Preventing force-push is only one small part of a good solution. good solution: 1. create pull request which is automatically being tested by CI 2. instead o
by killercup 11y ago
Preventing force-push is only one small part of a good solution.
good solution:
1. create pull request which is automatically being tested by CI
2. instead of hitting 'merge', tell build bot to take pull request and merge it into temporary copy of master
3. if tests pass on build bot, it applies pull request to master (by pushing temporary branch)
4. never ever push to master yourself
This is also basically what http://homu.io/ http://homu.io/ does.