Someone from my team uploaded a large file to the git server, and all team members now have a clone of the project with a large file.
I followed the manual at http://help.github.com/removing-sensitive-data/ and it works both in my source tree and on the remote server. But as soon as the other person receives new data from the remote server, he will easily re-enter the large file by pushing new commits to the server.
Typically, a team member will do the following to share his message with others:
git fetch origin git rebase origin/master git push origin
In the "rebase" step, the old large file is re-injected into its local commits. Of course, the direct way is to require everyone in the team to re-clone the project after deleting the large file, but not everyone will be happy about it. I find any way besides re-cloning the entire project for everyone.
Any suggestions? Thanks.
stid.smth
source share