1.0.4 • Published 9 years ago

git-step v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

git-step

CLI tool to step through git commits in either direction

Why

Useful for live tutorials, talks, etc.

Install

npm i -g git-step

This will install git-next and git-prev executables, and automatically alias them to git next and git prev.

Usage

In a git repo

git prev <steps>
git next <steps> <branch>

All arguments are optional steps defaults to 1, branch defaults to master.

See caveats for why prev doesn't need a branch arg.

Caveats

Turns out to be non-trivial to go next (whereas prev is real easy).

In order to go next, we must know the branch - this defaults to master.

If any knows an easy of getting the last branch accessed in a repo talk to me (twitter @davidmarkclem, or issue/PR ;)

Credits

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago