Skip to content

Mob programming

Mob programming is a useful tool when we work with users. It helps you learn and onboard quickly by understanding tools, workflows, and domain knowledge in a supportive environment.

We use mob to make this easier. It simplifies mob and pair programming. Install it before your session starts.

Install mob

Mac with brew

brew install mob

Other operating systems

curl -sL install.mob.sh | sh

See mob's documentation for more details.

Use mob

Make sure your local main branch is clean:

git stash --include-untracked  
git checkout main  

The first person ("driver") runs:

mob start -b <branch_postfix>  
mob next  

Creating a branch to work in

If you're on the main branch and run mob start -b db, it will create a new branch called mob/main-db.

The environment handles time tracking so each person gets 10 minutes.

Important

Have no uncommitted changes and be on the main branch before starting. This avoids cleanup during the mob session.