将分支合并到 master(强制覆盖)

Merge the branch to master (over-write of forced)

我无权直接在 'master' 中提交代码。我需要将代码从 'branch' 合并到 'master'。
我必须覆盖或替换 'master' 中的现有更改。
我正在尝试此线程中给出的步骤。 Git: Merge to master while automatically choosing to overwrite master files with branch

你能建议任何步骤来覆盖分支中 master 中的更改吗

我只是根据我的评论制定一个答案 - 这显然是值得的...

要遵循标准方法,您应该打开一个 Pull Request。通过这种方式,您可以看到更改、解决冲突、批准您的请求(受保护的存储库需要这样做),最后合并到主服务器。