Removing large file from git history?

寵の児 提交于 2019-12-03 16:38:59

If I get you right, after rebasing you want to do git push -f origin instead of git pull. This rewrites the remote repos history as intended.

ATTENTION Force pushing to a shared repository potentially wipes other people's changes and should only be done after confering with everyone having access. Additionally I'd suggest to make sure you can access the discarded history of origin/master in the future (by tagging it or something similar), at least until everybody agrees the rebase worked out fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!