A console tool to work in a remote mob (or pair) with git.
- Handover code fast between drivers
- Nice timer
- Remembers order of drivers
Install rust and run:
cargo install remotemob
mob start
creates a new feature branch or syncs the branch from the previous driver.mob next
commits all changes to the feature branch and hands over to the next driver.mob done
stages all changes on the feature branch for commit on the base branch (normally master).
Run mob
for help on more commands.
- 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
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.
Run mob status
Run mob start 7
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:
Inspiration for this tool comes from Remote mob programming and their tool mob written in Go.