O'Reilly logo

Remote Pairing by Joe Kutner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using tmux for Pairing

With both of our tmux windows in a good working state as we left them in the previous section, let’s check out the Backbone.js code base. Run this command from either tmux terminal:

 
$ ​git clone git@github.com:documentcloud/backbone.git

Move into the newly created backbone directory and open the file test/model.js in any terminal-based editor, as you can see here:

 
$ ​cd backbone
 
$ ​vim test/model.js

This file contains some unit tests for Backbone’s model components. We can run these test by opening the test/index.html file in a browser. Split the tmux session horizontally by pressing Ctrl-b ", so that your window looks like the following figure.

Figure 8. The Backbone.js code in tmux

Then run this command in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required