Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a force push to remove large apk file in repo and its commit history #9

Closed
Jinjiang opened this issue Apr 15, 2016 · 3 comments
Closed
Assignees

Comments

@Jinjiang
Copy link
Contributor

/android/playground.apk

Because the file is not source code and the file size is large. It slow down the remote-clone action

@luics
Copy link
Member

luics commented Apr 16, 2016

examples/playground.apk has been removed.

It seems a little risky to rm a big file from .git.
http://stackoverflow.com/questions/2100907/how-to-remove-delete-a-large-file-from-commit-history-in-git-repository

Let's do it next week after qcon.

@luics luics closed this as completed Apr 16, 2016
@Jinjiang
Copy link
Contributor Author

I have finished all branches just by one command:

git filter-branch -f --tree-filter 'rm -f android/playground.apk' HEAD

and preserved four main branches for handling risk:

0.5.0
0.5.0-rmapk is new
dev
dev-rmapk is new
example
example-rmapk is new
master
master-rmapk is new

You can check them out to confirm and then remove old branches + push new version branches.

Also, it should be notified to every staff to force re-pull new versions to local repo

@Jinjiang Jinjiang reopened this Apr 17, 2016
@luics luics assigned Jinjiang and unassigned luics Apr 18, 2016
@Jinjiang
Copy link
Contributor Author

done

sospartan pushed a commit that referenced this issue Jul 29, 2016
* [android] use component creator to create instance for core compone…
Hanks10100 pushed a commit that referenced this issue Oct 10, 2016
* [android] use component creator to create instance for core compone…
cxfeng1-zz pushed a commit that referenced this issue Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants