Skip to main content

Some useful scripts to operate track history and patch changes during rebases.

Project description

Installation

pip install git-check-rebase

Description

git-check-rebase is an utility for different kinds of git branch rebasing control. git-check-rebase compares several git commit ranges and produce a comparison table, where columns corresponds to specified ranges (and there are some additional helping columns).

The last range (the rightmost in the command line) produces the sequence. All rows of the resulting table correspond to comments from the sequence and the column corresponding to the sequence is a kind of git log --oneline --reverse.

For each commit of the sequence git-check-rebase searches for corresponding commit in other ranges and fills corresponding cells in other range columns.

Then git-check-rebase compares the commits in the each line and mark equal commits by green color. There is also a possibility to compare commits in –interactive mode and mark them as checked. In this case leftmost commit in a row is green and the equal (checked by hand) commit is yellow.

Short example:

https://gitlab.com/vsementsov/git-check-rebase/-/raw/ea72a4b7ccaefcad6424b09fa5ae6b69fd1d2e63/docs/_static/img/ex1.png

Here first commit is equal in both v1 and v2 of the feature branch, second commit is marked ok during –interactive session, third commit is not checked (and not equal) and the last one is absent in v1, so it’s “new”.

Use cases

When git-check-rebase can help?

  • Check difference between versions of upstream series

  • Check backported series

  • Check status of rebasing a downstream branch to a new upstream release

  • Check upstreaming status of commits in downstream branch

Documentation

Full documentation is here

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_check_rebase-0.6.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_check_rebase-0.6-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file git_check_rebase-0.6.tar.gz.

File metadata

  • Download URL: git_check_rebase-0.6.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for git_check_rebase-0.6.tar.gz
Algorithm Hash digest
SHA256 cc2b08cc37f5982be9549efc888b87202e8e439e7c2078a660ecfcc2c6f9e369
MD5 94d63d873b51547e2f0811839c562b7c
BLAKE2b-256 bc5621cb367793e50c966ac319d0a75efbdc0d14823342698d728f90478dfaee

See more details on using hashes here.

File details

Details for the file git_check_rebase-0.6-py3-none-any.whl.

File metadata

  • Download URL: git_check_rebase-0.6-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for git_check_rebase-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a7a7857b113c66d9400156add88359e44db0b35d659614b98a75e4b2b16dc0af
MD5 d905cfb6f70623d21a27f47254b2d89d
BLAKE2b-256 317a93c176ca9b2fab4c652677a78e19dded0b626f64eb02c3ac354d56ab500c

See more details on using hashes here.

Supported by

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