4 ms·
No no. I know SVN and mercurial as well. Git is better. And normally when someone pushes a huge file it means they compiled something on their machine and are p
by LtWorf 3mo ago
No no. I know SVN and mercurial as well. Git is better. And normally when someone pushes a huge file it means they compiled something on their machine and are placing it on git, which is something that raises all the alarm bells for me.
- rcxdude 3mo agoExcept in game dev where you want to version control your art assets as well.
- LtWorf 3mo agoI was responding to someone who made a generic statement about git?
- Kwpolska 3mo agoPretty sure you're responding to someone talking about game development.
- dijit 3mo agoit does kind of suck though. (and he was talking about gamedev, which is not the only kind of development that deals with more than just plaintext, but its the one you can probably understand best). Git solves a problem that we immediately unsolve constantly, and so we end up with the warts of both. Its so ubiquitous though that people literally can’t even step back and realise this fact unless they are forcefully exposed to other paradigms (which they fight against the whole time). Theres a lot of psychology to be learned here, its not sunk cost fallacy, its something deeper than that. Like rewiring the brain, even for a simpler paradigm, is almost painful for people. How can you even know whats better if your brain is wired to know Git and distributed version control (yet not distributed)? It’s like imagining what it would feel like to smell electrical currents, the brain isn’t wired to know it.
- rcxdude 3mo agoI mean, in general, the fact the git doesn't deal with large files well is not really a feature, even if it incidentally makes it a worse idea to check build artifacts into your repo.
- LtWorf 3mo agoI don't think it's large files. It's basically made for .txt files and that is all. Even small binary files… you can have them but it's not great with those. I think it's fine for scope to exist.
- flohofwoe 3mo agoYou want to have your original art files (before they enter the asset pipeline) in the VCS (photoshop images, 3d models, maybe even videos), basically *all* files associated with the game project. Those source asset files are usually in the 5..20 MByte range, and up to 100 MByte isn't all that unusual either. Git (even with the LFS crutch) completely breaks down in such a scenario because it was designed for handling mainly text (while in game dev projects at most 1..5% of all source data is text (by number of files, several orders of magnitude less by size). Even good ole SVN is much better in that scenario than git (assuming you run SVN on a big, dedicated inhouse server).