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

AppJoint repository size #1

Open
enginegl opened this issue Oct 15, 2018 · 5 comments
Open

AppJoint repository size #1

enginegl opened this issue Oct 15, 2018 · 5 comments

Comments

@enginegl
Copy link

I just cloned AppJoint repository and found out that for some reason it contains gradle-4.1-all.zip (almost 86 MB).
Is it there by mistake?

@PrototypeZ
Copy link
Owner

Oh, sorry for that, I commit it by mistake, I will remove it from repository, thank you :)

@enginegl
Copy link
Author

The bad thing here is that GIT remembers everything. So even after the fix everybody will get:

▶ git clone https://github.com/PrototypeZ/AppJoint.git
Cloning into 'AppJoint'...
remote: Enumerating objects: 1076, done.
remote: Counting objects: 100% (1076/1076), done.
remote: Compressing objects: 100% (435/435), done.
remote: Total 1490 (delta 319), reused 969 (delta 224), pack-reused 414
Receiving objects: 100% (1490/1490), 83.64 MiB | 3.04 MiB/s, done.
Resolving deltas: 100% (418/418), done.

@PrototypeZ
Copy link
Owner

You are right, I'm working on it to remove this large file from git history. Thanks : )

@cymok
Copy link

cymok commented Nov 23, 2018

@PrototypeZ I am learning git rebase recently, I hope this helps you.

@razerdp
Copy link

razerdp commented Oct 15, 2019

maybe this command work perfect

git filter-branch --tree-filter 'rm -rf gradle/wrappe/gradle-4.1-all.zip' HEAD
git reflog expire --expire=now --all
git gc --prune=now
git push origin --force --all

rebuild all commit tree for delete gradle-4.1-all.zip

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

4 participants