nodejs / node-core-utils

CLI tools for Node.js Core collaborators
https://nodejs.github.io/node-core-utils/
MIT License
234 stars 106 forks source link

update requested staging branch before backporting in `git-node backport` #731

Closed rluvaton closed 7 months ago

rluvaton commented 7 months ago

Currently, if my staging branch is behind upstream one or not on the staging branch at all I will create a bad backport PR

so we should ask do you want to sync staging with upstream (if it's behind)

and we should checkout from the staging branch

aduh95 commented 7 months ago

Why would you care about main for a backport PR? How can you know if it's behind without fetching the latest?

rluvaton commented 7 months ago

actually main is not that important

rluvaton commented 7 months ago

(working on this)