How to push the commits to the branch if the commits are rejected after the git rebase process?
Originally Published Here ๐!
To push the changes to the branch after a rebase, you need to force push your commits using the -f or --force flag in the git push command on Git.
It can be done like this,
# Push commits to branch after git rebase
git ...
melvingeorge-me.hashnode.dev1 min read