Crates.io | git-assist |
lib.rs | git-assist |
version | 0.1.0 |
source | src |
created_at | 2023-08-24 10:01:31.012115 |
updated_at | 2023-08-24 10:01:31.012115 |
description | A suite of friendly assistive git commands |
homepage | |
repository | |
max_upload_size | |
id | 953554 |
size | 97,286 |
A friendly git assistant.
Install git-assist
via:
cargo install git-assist
git-assist
currently implements assistive features for the following git commands:
git bisect
git-assist
currently implements the following commands related to git bisect
:
git assist bisect skip-pull-requests [OPTIONS]
Usage: git-assist bisect skip-pull-requests [OPTIONS]
Options:
--remote-url <REMOTE_URL> Remote url to fetch pull requests from
--good <GOOD> A known "good" commit
--bad <BAD> A known "bad" commit
--dry-run Perform a "dry" run
-h, --help Print help
Most options can either be passed as command-line arguments or entered interactively, later on.
Why is the `skip-pull-requests`` sub-command useful?
Github supports three merging schemes:
All of these come with their pros and cons, when it comes to running git bisect to find the commit that introduced a bug.
So what if one could combine the convenience of "Squash and merge" with the history-preserving nature of "Rebase and merge"?
What the skip-pull-requests
sub-command does:
good..bad
commit range.--dry-run
) git bisect skip base..head^
for each pull request.The general usage of the skip-pull-requests
sub-command looks something like this:
git bisect start
git assist bisect skip-pull-requests --good <GOOD> --bad <BAD> ...
git bisect good <GOOD>
git bisect bad <BAD>
...
Please read CONTRIBUTING.md for details on our code of conduct,
and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MPL-2.0 – see the LICENSE.md file for details.