When we do a commit to a branch we retrieve the last commit of the branch and do a remote commit on top. Since we send the entire file on the commit we could perfectly have 100 commits with the same change over and over, in this context we can have a PR with 100 commits and the same change or we need to create another PR which loses context and discussions every time if there is a rebase.
My proposal is we offer a way to pass the base commit for the remote commit and hence we can simulate a push force.
When we do a commit to a branch we retrieve the last commit of the branch and do a remote commit on top. Since we send the entire file on the commit we could perfectly have 100 commits with the same change over and over, in this context we can have a PR with 100 commits and the same change or we need to create another PR which loses context and discussions every time if there is a rebase.
My proposal is we offer a way to pass the base commit for the remote commit and hence we can simulate a push force.