- Make sure you have whatchexec installed
- Checkout the working branch
- Use your favorite editor/IDE!
- Start
watchexec
:
watchexec -- bash mobprog.sh
- Share your screen
- Loop over this for a few minutes:
- Discuss ideas with the mob
- Write some code (tests are code too)
- Save your changes (
mobprog.sh
runs and commits and pushes all changes)
- Unshare your screen
- Stop
watchexec
and make no further changes until you're the pilot again
- Watch the pilot's shared screen
- Try and be helpful to the pilot
- Discuss ideas with the mob
- Resist the temptation to type (wait your turn)
- Reorganize the changes by either squashing the commits or creating new ones
- Don't forget to include other members as co-authors of the commits, e.g.:
Co-authored-by: Frank Costello <[email protected]> Co-authored-by: Tony Montana <[email protected]> Co-authored-by: Tuco Salamanca <[email protected]>