• git强制提交本地分支覆盖远程分支

    git强制提交本地分支覆盖远程分支

    RainNight 2021-07-13 git

    931°

    git push origin 分支名 --force eg: cd 代码目录 git push origin master --force 运行结果: Total 0 (delta 0), reused 0 (delta 0) To https://bitbucket.org/jnj_edg/akg-solution.git + f20ec88...d2128f5 master -> master (forced update)
Collect from 雨夜的博客 雨夜的博客