Skip to main content

No project description provided

Project description

# git rebase-chain

A tool to make gerrit-like PR chains easier to manage

## Usage

Let’s say that we have 4 commits, a, b, c, and d. All of these correspond to different pull requests on GitHub that are under review.

Your colleague Alice lets you know that b has a typo in supercalifragilisticexpialidocious.js. Better update it! We switch to b, fix the typo, then run git commit –amend.

But wait! Now c and d are tracking the wrong commit. Worse, when we look at the PRs in GitHub they show weird and unexpected changes!

Fortunately, we can fix this easily with git rebase-chain. Just run

`shell > git checkout d > git rebase-chain b --push origin Updating remote d to bd941f056dec5e7b0dd277c1786429f668611c28 Updating d to bd941f056dec5e7b0dd277c1786429f668611c28 Updating remote c to f6b59999b9dff86df0b6e7e0d9096946bd47c77a Updating c to f6b59999b9dff86df0b6e7e0d9096946bd47c77a `

Now all of our refs, both local and remote are up to date!

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-rebase-chain-0.1.0.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file git-rebase-chain-0.1.0.tar.gz.

File metadata

  • Download URL: git-rebase-chain-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.0

File hashes

Hashes for git-rebase-chain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 979785b75e3f2c271a7450b5f861307eee54ffe7dacf00ea4105211fb4ffb192
MD5 a6642bc29d57e31071abf52cd9902be9
BLAKE2b-256 7419030b426d1517bf0d05cf8c03ff0b93d2220cad80d1c27c5c6215daa622c0

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