app git-slides

Navigate through Git commits like presentation slides

6 releases (breaking)

0.4.0 Aug 10, 2024
0.3.1 Aug 1, 2024
0.3.0 Jul 30, 2024
0.2.0 Jul 26, 2024
0.0.1 Jul 23, 2024

#575 in Command line utilities

GPL-3.0-or-later

27KB
542 lines

git-slides

license: GPL v3+ GitHub Tag crates.io

Navigate through Git commits like presentation slides.

$ git slides next
  1/7 7171da7 Introduction to Version Control: Git Basics
  2/7 ebde0ee Essential Git Commands: A Practical Overview
* 3/7 813f075 Branching Strategies: Enhancing Workflow Efficiency
  4/7 865c830 Collaboration with Git: Merging and Conflict Resolution
  5/7 ebe0dc2 Git Workflows: Centralized vs. Distributed Models
  6/7 9202f1e Advanced Git Features: Stashing, Rebasing, and Tagging

Usage

The executable must be on your PATH, then you can use it as a regular Git command:

$ git slides start feat/my-presentation
usage: git-slides [<options>] <command> [<args>]

Commands:
  start [<ref>]        Start presentation.
  stop                 End presentation.
  next, n [<n>]        Go forward one or <n> slides.
  previous, p [<n>]    Go back one or <n> slides.
  go <n>               Go to slide <n>.
  status               Show current status.
  list                 List all slides.

Options:
  -h, --help           Show this message and exit.
  -v, --version        Show the version and exit.

Installation

Directly

$ wget https://github.com/qrichert/git-slides/releases/download/X.X.X/git-slides-X.X.X-xxx
$ sudo install ./git-slides-* /usr/local/bin/git-slides

Manual Build

System-wide

$ git clone https://github.com/qrichert/git-slides.git
$ cd git-slides
$ make build
$ sudo make install

Through Cargo

cargo install git-slides
cargo install --git https://github.com/qrichert/git-slides.git

No runtime deps