-
-
Save chapmanjacobd/df9b07c9966e2209e29972e74f3e55b4 to your computer and use it in GitHub Desktop.
Git as a presentation tool
This file contains 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
# tag target commits as demo-start, demo-end | |
# move to the start of your presentration with `git checkout demo-start` | |
# use to `git next`, `git prev` to jump between "slides" | |
git config --global alias.next '!git checkout `git rev-list HEAD..demo-end | tail -1`' | |
git config --global alias.prev 'checkout HEAD^' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment