Background: We use github for our project and I work on my own fork of our main repository. We use rebase instead of merge to avoid large merge commits.
<
If you're rebase
ing, you will always have to --force
when you push, because rebase
rewrites history. That's simply how it works. Rewritten history isn't going to fast-forward on top of that same history by definition.
The alternative is to merge
instead of rebase
ing. You could use your exact same workflow, except with merge instead of rebase, and you would not have to force push.
If no one else is using your remote branch aside from you, then using --force
isn't inherently bad. If other people are using the remote branch, you should probably use merge
anyway.