git强制提交本地分支覆盖远程分支
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)
赞 (0)
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)