On one feature I was pairing (actually, tripling...) on some Django with the awesome George Brocklehurst and the brilliant James Coglan. James and I took a break to look at the causeway being underwater at high tide, and when we returned we found that George had relocated from our previous office (the green sofa) to the flat roof of the officers' mess. With his phone playing Ben Howard's cover of Call Me Maybe and glasses of whisky hand-delivered by the fantastic Chris Govias, it was perfect.
Except it wasn't, because George's battery was running low, and he couldn't push his changes to my laptop because the wifi didn't reach that far. "Of course, we could always set up a local wifi on the roof," said George. Was he trolling me? No, he was not, and here's how:
George committed to a local branch and then set up his mac as a network hub (a computer-to-computer network).
Then I added a git remote that pointed at the repository on George's machine:
The IP address here was his machine on the network he'd created, and it was his ssh login (so I needed him to enter his password).
This included the pleasure of having to type:
Then I merged george's branch into mine:
and we were ready to use my computer to continue the good work.
Photo by the aforementioned brilliant James Coglan.