Pushing Changes To PRs

Using https://github.com/apache/hudi/pull/1858 as an example. This only works if the PR allows edits from maintainers.

Checkout the PR branch locally (if using IntelliJ).

Else, you can do a `git fetch` after adding the remote below

Add remotes pointing to the PR authors Hudi fork

git remote add nsivabalan git@github.com:nsivabalan/hudi.git 

you would fetch/checkout branch from nsivabalan repo via command below

git fetch nsivabalan UpgradeDowngradeInfra
git checkout UpgradeDowngradeInfra

make changes, as usual. When ready just push to the remote

git push nsivabalan pull/1858:UpgradeDowngradeInfra
  • No labels