Code Monkey home page Code Monkey logo

Comments (3)

Sc0rpi0n101 avatar Sc0rpi0n101 commented on June 15, 2024

Wait, how is this a good first issue?
For people who don't have much experience with Open-source & prob git and are looking for thier first issue, housekeeping git might not be the right thing to start on xD.

from asetalias.github.io.

vipulgupta2048 avatar vipulgupta2048 commented on June 15, 2024

I agree, I had a perspective of someone be able to learn more about git, amd how it works internally by doing this task. Reassessing, yes definitely not a good first issue

from asetalias.github.io.

nmay231 avatar nmay231 commented on June 15, 2024

Well, I was just taking a look to see how reasonable it would be to work on this and I don't know if it is honestly. It looks like most of the large size is due to existing/previous versions of existing images.

I just made a fresh clone, then ran

git verify-pack -v .git/objects/pack/pack-a0a3d6c2cbc90fce318270c3aaad78c9af0c293e.idx | sort -k 3 -n | cut -c-41 | tail -150 >> tmp.txt

to get the shas of the largest 150 commits. Then to get the file names,

git rev-list --objects --all | grep -f tmp.txt

It looks like most of them are presently existing files in images/ and fonts/. And while I wish I could run a command to find the exact files that could safely be removed from history, I'm not that skilled with git.

My suggestion, if low first-clone-size is at all a priority, you should gitignore all images and from previous commits, and then just store your images somewhere else other than github. Though, it seems like that's more work than it's worth. It is only the first clone after all.

Just FYI 👍

from asetalias.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.