• In future, carry:
    Chain tool.
    Magic link or equivalent.
    About three inches of spare chain (if you ride fixed/SS you will have had to remove a few inches of chain to get the length right - don't bin it, carry it as spare.)

About