Skip to main content

No project description provided

Project description

Brisk Blame Browser for Git ⚡

PyPI GitHub License Code style: black

git-bbb is a wraper around git blame, that lets you seamlessly warp between different revisions.

Git-bbb screenshot

Features ✨

The project is in its early stages of development, many features are still to be worked out. For now, the most notable features are:

  • Colorized syntax (thanks, Pygments!)
  • Seamlessly go to the revision from a blame line in just one keypress
  • Uses .git-ignore-revs file as an input to --ignore-revs-file by default
  • Vi style bindings

Installation

# Install git-bbb via pip
pip install git-bbb

Usage

# Installing git-bbb will add a "git bbb" command
git bbb file/in/the/repo

Key bindings

  • Use h & j or & to move to the next/previous blame line
  • Enter to switch (warp) to the highlighted revision.
  • S runs git show for the commit indicated by the cursor.
  • u to go back to the previously viewed revision - a.k.a. undo.
  • ctrl+r to redo previous warp.
  • H & J move the whole document view up and down
  • Stepping between the lines of the currently highlighted revision: { - first, } - last, ] - next, [ - previous.
  • gg and G will make git bbb go to the first and last line, respectively
  • Ctrl+d and Ctrl+u will scroll half a page up and down, respectively
  • Page Up & Page Down do what they are supposed to do
  • / & ? to search through file contents. This works mostly in the same way as the Vi(m) one. Use n and N to cycle through results.
  • q to quit
  • ...many more to come

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

git_bbb-0.0.7-py3-none-any.whl (25.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page