Created
December 3, 2014 07:14
-
-
Save jschomay/0083568769fad9489300 to your computer and use it in GitHub Desktop.
Walk forward in git history for live coding presentations (displays diff and copies file to clipboard to paste into jsbin for example)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
clear | |
git checkout $(git rev-list HEAD..master | tail -n 1) | |
pbcopy < game.js | |
git show --format="%C(yellow)%s%Creset%n%n%b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment