-
|
Hello all, I did not realise that after pushing to a github repo, I had not done |
Beta Was this translation helpful? Give feedback.
Answered by
scott2000
Dec 18, 2024
Replies: 1 comment 3 replies
-
|
If you run |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that you have the changes in a new commit, you could
jj rebase -s <new_commit> -d <branch>@originto rebase it onto the original remote branch commit, and then abandon the old rewritten version.Or instead of my original message, maybe this would've worked better:
Which basically makes a new commit on top of the remote branch, and then resets the commit to the contents from the local branch.