4 ms·
Forgive me if I'm missing something here, but can't you just add media files to .gitignore?
by Santosh83 5y ago
Forgive me if I'm missing something here, but can't you just add media files to .gitignore?
- chrismorgan 5y agoThe author deliberately added the files to the repository. That’s (part of) the problem. .gitignore is about saying “I don’t want to add matching files to the repository, so stop telling me they’re not in the repository”.
- yawaramin 5y agoWhat problem? It’s their repo—they can add what they like…
- devilduck 5y agoThe problem is HN comments are full of crybaby know-it-all nerds
- emi2k01 5y agoIf it's not a problem, then I would say it's rude for potential users and bad practice for developers. The README transfers almost 100mb. If I'm on my phone with no wifi and I see an interesting repo as I'm a neovim user, I will just lose 100mb from my data plan with no warning. One doesn't expect that when visiting the README of a code repository. Then what happens when they change something that makes the gifs obsolete? Will they add a commit with updated gifs that doubles the size of the repository? Most developers use git clone $URL which copies the entire repo history, instead of using `--depth 1`. So now if someone wants to contribute a small change, they have to download hundreds of MBs of gifs.
- rohit-px2 5y agoHi! I'm the developer of nvui. You were definitely right about the readme bloat. I've removed the GIFs in favor of videos uploaded to Github and links to them, although the GIFs may be stuck in the history.