The orange shows the local branch, the yellow shows the remote branch.
I rebased my branch locally. Then to push the changes to remote, I performed a pull (because it had informed me that my branch is now behind), and then a push. Am I supposed to do a force push? Or delete remote and then push?
Since the two branches are now "merged", is my best course of action to perform a reset/delete of the merge, delete the remote branch, and then push again?

Say you have a branch
masterand a branchfeaturewhich starts from some commit onmaster. Then, you push that branch on the remote:Next, a collegue of yours commits on
master. You would like to have those changes in your branchfeature, and therefore you decide to do:If then you want to push that
featurebranch onto the remote so it looks identical as your local repository, you need the force flag:Whether or not this is good practice is another question. You could push it to another branch, as you said for example. With
git, there are always many options.