Problem when running git rebase #26157
-
Hi all! First of all I want to say I absolutely love github actions, great work! I used them every day and they are a delight. I started to poke around and build my own actions. However, I can’t seem to perform a successful rebase operation:
Despite looking around and trying different approaches to debug this, I can’t make it work. What am I doing wrong? Am I missing something obvious? Workflow example: https://github.com/MaximeHeckel/github-action-rebase/blob/publish/.github/workflows/test.yml Source: https://github.com/MaximeHeckel/github-action-rebase/blob/publish/index.js Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After a lot of trial and error I realized that using the Instead of running |
Beta Was this translation helpful? Give feedback.
After a lot of trial and error I realized that using the
--onto
flag would make it work!Instead of running
git rebase branchA
on master I rungit rebase --onto branchA master
and I get the expected result!