saadeghi / daisyui

🌼 🌼 🌼 🌼 🌼  The most popular, free and open-source Tailwind CSS component library

Home Page:https://daisyui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: 6.26 GB file in git

admin8756 opened this issue · comments

What version of daisyUI are you using?

4.10.2

Which browsers are you seeing the problem on?

Other

Reproduction URL

https://github.com/saadeghi/daisyui/tree/master

Describe your issue

image
image
When cloning the repository, I encountered an extremely large file.

Thank you @admin8756 for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

This is not a bug. The repository includes different branches. You would only need the master branch.

First fork the repo. While forking, check the Copy the master branch only checkbox. Then clone the forked repo to your local.

git clone --single-branch https://github.com/saadeghi/daisyui.git should also do the trick.

git clone --single-branch https://github.com/saadeghi/daisyui.git should also do the trick.

Hi. Friend. I think this is not right. Because I have no problem cloning most repositories. I am saying that a large file has appeared. You all told me that just clone the master is enough. I am not looking for a solution. I'm just reporting an issue. This should not appear. Not how to solve it. Because I have already cloned it. So it doesn't help me at all. I don't understand the reason for this problem. However, thank you very much. Wishing you a happy life.

My friend...
As I said, the repo includes multiple branches:

  • v3.9.4-static
  • v3
  • v1.25.4-static
  • v2.52.0-static
  • v2
  • gh-pages

These branches are archives of past versions and generated framework static files for the documents of current version and each of the past versions. We use these branches to keep a live docs website for past versions (like https://v2.daisyui.com/)

These branches, especially the generated static ones are heavy because they include all the static files and gz+br compressed version of each of the assets. You don't need to clone these branches. Cloning the master branch is enough.

My friend... As I said, the repo includes multiple branches:

  • v3.9.4-static
  • v3
  • v1.25.4-static
  • v2.52.0-static
  • v2
  • gh-pages

These branches are archives of past versions and generated framework static files for the documents of current version and each of the past versions. We use these branches to keep a live docs website for past versions (like https://v2.daisyui.com/)

These branches, especially the generated static ones are heavy because they include all the static files and gz+br compressed version of each of the assets. You don't need to clone these branches. Cloning the master branch is enough.

Oh, you are right! Just as you said. It would be great to add a clone tip in the contribution document. Here is the link: CONTRIBUTING.md. Also, I have to say, I love DaisyUI so much. Yesterday, my friend said he didn't like it. I kicked his butt hard. I simply can't stand anyone saying bad things about it.