Skip to main content

⚡ Brisk Blame Browser for Git

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 ✨

  • Sensible TUI made with Prompt Toolkit
  • Syntax highlighting thanks to Pygments!)
  • Seamlessly switches between revisions in just one keypress
  • Shows you where the lines of a commit are in the file
  • Uses .git-ignore-revs file as an input to --ignore-revs-file by default
  • Vi style key bindings
  • Search functionality
  • Coming soon: customizability via git config
  • Coming soon: seamlessly browse through file history, even if it was moved multiple times
  • Coming soon: highlight contributions made by a given author

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, or P to go to its ancestor.
  • 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.
  • ctrl+J & ctrl+K move the whole document view up and down
  • Stepping between the lines of the currently highlighted revision: H - first, L - last, J - next, K - 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 in Vi(m). 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 Distribution

git_bbb-0.0.10.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

git_bbb-0.0.10-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file git_bbb-0.0.10.tar.gz.

File metadata

  • Download URL: git_bbb-0.0.10.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for git_bbb-0.0.10.tar.gz
Algorithm Hash digest
SHA256 335db38460989cedf7e23abfa446f960a368c6550c32d1e57ea47e08f9ca07dc
MD5 476b027b573cd60c6f2a85e38746c62f
BLAKE2b-256 09b75b678d2119ae5ea70ae38b5fdc02fbbf33b156af61538734dca2f7459218

See more details on using hashes here.

File details

Details for the file git_bbb-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: git_bbb-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for git_bbb-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 22b820edfa3d4a755187e351d16172d4e034719ea2e09abcafa7b1c372df8f6e
MD5 db7390e37108e02bff8320a0fd62ac6e
BLAKE2b-256 f4d26f8d8faff6961d5f1f6b7c531aa773e9e932a50d6fb831c941fb0d86ecc5

See more details on using hashes here.

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