Changes between Version 58 and Version 59 of UsingGitWithWebKit


Ignore:
Timestamp:
Oct 27, 2010 2:04:46 PM (13 years ago)
Author:
Adam Roben
Comment:

Added instructions for maintaining good performance

Legend:

Unmodified
Added
Removed
Modified
  • UsingGitWithWebKit

    v58 v59  
    201201== Workflow ==
    202202If you are not familiar with Git and wish to see a a sample workflow for making modifications, see [wiki:HackingWebInspector#NowDoYourHacking the web inspector tutorial].
     203
     204== Maintaining Good Performance ==
     205`git-gc` can be used to make your git repository take up less space and increase git's performance. Some git commands will run a "lite" version of `git-gc` automatically, but you may want to run it manually from time to time. Running it is as simple as:
     206{{{
     207git gc
     208}}}
     209
     210It is a good idea to do an "aggressive" gc occasionally, like so (be warned that this can take multiple hours!):
     211{{{
     212# The following git-config commands are only needed on Windows AFAIK
     213git config pack.threads 1
     214git config pack.windowMemory 256m
     215
     216git gc --aggressive
     217}}}