Re: REBASE_HEAD still exists after success end rebase
- From
- Long 76 <long76.git@mail.ru>
- Date
- Jul 28, 2026, 15:34 UTC
- Message-ID
- <b19319a0-a248-4213-ab03-b1abb4a42744@mail.ru>
- In-Reply-To
- <92a69a99-c56f-4ec5-968f-436bef64ee48@gmail.com>
Show 6 quoted lines
> The need for "--force" when pushing is due to you having rebased the > branch, it is unrelated to the existence of REBASE_HEAD (other than the > fact that it exists indicates you have rebased). Rebasing rewrites the > history which means that the remote cannot fast-forward when you push. > Rather than using "--force" I'd recommend "--force-with-lease --force- > if-includes" instead (see the "git push" man page for more details).
I know it, commit don't the same that was before rebase - because of the conflict, it had to be changed.