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:
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
Built Distribution
Hashes for git_check_rebase-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2113563714a77face389601cc0adc7d82ea8aae7022c24e0ce558e0cd011ebea |
|
MD5 | e1e2a6fd62bd5d25d827649eec971511 |
|
BLAKE2b-256 | a042ba17db4c866a909f0cecb781d513bbea3716048acf62a733ca94787ec556 |