smrt-git icon indicating copy to clipboard operation
smrt-git copied to clipboard

🚋 Singapore train lines visualized in the form of git commits and branches

SMRT Git

Inspired by MetroGit, which shows Paris' metro lines in the form of a Git commit history, I created a Singaporean version. This Git repository contains all the MRT stations in Singapore (excluding LRT).

  • They can be visualized in the GitHub network view: https://github.com/yangshun/smrt-git/network Imgur

  • Sourcetree: Imgur

  • And other git commands and tools such as gitk and git log --all --graph.

Generating the Commits

Simply do:

$ ./script.sh

This script is incredibly meta. It wipes out the current git repository, adds itself and README.md to master, then proceeds to generate the commits on other branches.

If you want to push to a remote repository, modify the remote at the end of script.sh and append push to the generation command:

$ ./script.sh push

The original SMRT map referred can be found here at http://i.imgur.com/1xM3bVC.gif.

Imgur

Contributing

I hacked this out in a few hours and there might be bugs and discrepancies. Feel free to fork and submit patches! Would also love to hear your feedback on how it can be improved!