m is a small command-line tool for making repository-based projects and tmux session management easier. It also helps to make feature branches and Mercurial’s shared repositories easier to use.
It works by providing a succinct set of commands for creating or resuming work on projects, finding files within a project, and jumping to subdirectories quickly.
Put simply, I use Tmux and Mercurial a lot. In particular, I use shared repos and feature branches. This tool helps automate those particular tools, and can be considered a thin wrapper around them.
Here’s a quick tutorial, for those who just want to try it out:
hg clone https://bitbucket.org/getoffmalawn/m
alias m=$PWD/m/m
cp m/mrc.example ~/.mrc
m dotfiles # start working on your dotfiles repo, which lives in ~/projects
Of course, m gives you much more than that. Check out the full Tutorial to see what else it gives you.