![]() |
[SOLVED] Clean the git - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [SOLVED] Clean the git (/showthread.php?tid=867) |
Clean the git - Silverburn - 08-24-2010 I just now updated my local git and compiled it. I checked the total size of the main folder, and in total, I have 5,37GB in files for Xonotic. That's a bit much on this small laptop harddrive. Is there a way to clean away old stuff? RE: Clean the git - divVerent - 08-24-2010 If you have no local changes, you can do: ./all clean -f to get rid of all untracked files, and all changes. After that, you can reduce your .git directory sizes by: ./all each git gc This will take a while, though. RE: Clean the git - Mr. Bougo - 08-24-2010 Don't expect a huge improvement in size though, we have big source files (2.5 GB at this time), and a compressed copy of those 2.5 GB are stored internally by git. RE: Clean the git - Roanoke - 08-24-2010 You can probably delete the nexcompat directory if you don't plan to do anything with it. RE: Clean the git - Mr. Bougo - 08-24-2010 Just deleting it will only make it come back the next time you update. Remove the xonotic-nexcompat.pk3dir directory and make a xonotic-nexcompat.pk3dir.no file in the directory that hosted it (the file can be empty, doesn't matter). This will prevent the update script from downloading it again. RE: Clean the git - Silverburn - 08-25-2010 Removing the nexcompat folder helped me for 1,4GB Did the other stuff, but don't know exactly howmuch that helped, as I moved some files around while it was running. RE: Clean the git - Roanoke - 08-25-2010 You can also probably scrap the mediasource directory too. RE: Clean the git - Mr. Bougo - 08-26-2010 But don't forget to add .no files or it will re-download on the next ./all update. |