Sanitary pair and mob programming for the modern age
Use this handy dandy script (in conjunction with a remote meeting tool and a sweet timer) to coordinate driver rotations through git, and bring your remote mob programming sessions back to life!
npm i -g @aptera/falco
- Navigate to your project directory in a terminal.
- If you're not working on
master
, checkout the branch you'll be using.
- Begin the session with
falco start
. (This will create a<working-branch>-mobbing
branch off the working branch, to hold work-in-progress commits during the session.) - When it's time to switch to the next driver,
falco pass
. (This will make a "wip" commit and push it to the<working-branch>-mobbing
branch.)
- Begin your turn with
falco drive
. (This will checkout the<working-branch>-mobbing
branch and pull down the latest wip commit(s).) - When it's time to switch to the next driver,
falco pass
.
A solid 93% on Rotten Tomatoes.
- Use
falco commit <message>
to commit work in progress, squash merge, and push to the original working branch. - If you are not the last driver, or if you do not want to merge the session's results, use
falco stop
to clean up your local workspace and return to the original working branch.