mob
A console tool to work in a remote mob (or pair) with git.
- Handover code fast between drivers
- Nice timer
- Remembers order of drivers
- Configurable interval for breaks and lunch
How to install
Usage
mob start
creates a new session or takes over from the previous driver. It will ask a bunch of questions about branches, work interval, break times if it needs.mob next
hands over to the next driver.mob done
squashes the feature branch to staging on the base branch (default master) and removes it.
Run mob
for help on more commands.
FAQ
Remove all traces of mob
from a repo
- Run
mob done
to remove the mob branch. Either commit the changes or rungit reset HEAD --hard
to discard changes. - Run
mob clean
to remove themob-meta
branch. - Delete
~/.mob
if you don't want to usemob
more
Where the configuration stored
Configuration local to you is stored in ~/.mob
. Configuration
for a repository is stored in an orphan branch named mob-meta
.
mob start
creates all configuration needed to run. It is always
safe to run mob clean
to remove the repository config and start
fresh.
Show status
Run mob status
How do I change break times, lunch etc
Currently you have to run mob clean
and then mob start
.
Work duration is set to 15 but we're supposed to be in a meeting in 7 minutes
Run mob start 7
How it works
mob
uses an orphan branch called mob-meta
to save session
state and settings. You can view the session content with mob status
and delete it with mob clean
.
The session can be in 3 different states:
Thanks
Inspiration for this tool comes from Remote mob programming and their tool mob written in Go.