Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Clean the git

#1
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?
[Image: di-712770583645.png]
Reply

#2
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.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#3
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.
Reply

#4
You can probably delete the nexcompat directory if you don't plan to do anything with it.
(07-18-2010, 10:59 AM)Flying Steel Wrote: How could anyone with ADHD tell its a high damage weapon if it wasn't a gigantic metal cock fucking the map whenever a player gets within 3 meters of a wall?

[Image: di-712770583645.png]
Reply

#5
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.
Reply

#6
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.
[Image: di-712770583645.png]
Reply

#7
You can also probably scrap the mediasource directory too.
(07-18-2010, 10:59 AM)Flying Steel Wrote: How could anyone with ADHD tell its a high damage weapon if it wasn't a gigantic metal cock fucking the map whenever a player gets within 3 meters of a wall?

[Image: di-712770583645.png]
Reply

#8
But don't forget to add .no files or it will re-download on the next ./all update.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [BUG] some textures won't load with git builds lister 2 2,772 01-17-2020, 06:09 PM
Last Post: LuckyStripe
  [SOLVED] Cannot run game anymore after new git update Bloodthorn 2 3,171 07-25-2018, 07:20 AM
Last Post: Bloodthorn
  [SOLVED] cannot compile git code dingus 5 5,844 07-27-2016, 05:13 PM
Last Post: sev
  [SOLVED] Installing Xonotic git in debian Ari 5 8,169 01-30-2014, 10:27 PM
Last Post: Ari
  [NEEDS INFO] Fps drops [xonotic-git][mesa-r600g-git] Bitiquinho 10 13,378 06-03-2013, 01:16 PM
Last Post: Mr. Bougo
  [SOLVED] how to compile linux and win executable using git under win7 TheGoodGamer 7 11,308 05-09-2013, 06:49 AM
Last Post: Mr. Bougo
  [SOLVED] Git clone errors end user 11 13,748 05-02-2013, 05:19 PM
Last Post: end user
Exclamation [SOLVED] Problems with Git Squigger 11 9,773 01-18-2012, 01:50 AM
Last Post: Mr. Bougo
  [SOLVED] Git Repository, Problem? Squigger 2 3,563 10-25-2011, 12:23 AM
Last Post: Squigger
  [NEEDS INFO] Pulling Failed. (GIT) Chryyz 5 8,112 08-03-2011, 09:01 AM
Last Post: Sless

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-