Created
November 19, 2015 21:17
-
-
Save danii1/ca07a9c42848e1df58a3 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