]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by RecaiOktas: Suggest local git clones for space and time efficiency.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 10 Sep 2006 13:48:20 +0000 (13:48 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 10 Sep 2006 13:48:20 +0000 (13:48 +0000)
doc/setup.mdwn

index c6a8f297eb2ff313afc33090c63b0933ffc54f61..6da466b90eb5e3db801761d762d3ae27ca0f7686 100644 (file)
@@ -18,6 +18,9 @@ you through setting up a wiki that is stored in [[Subversion]], [[Git]],
                cp /usr/share/ikiwiki/basewiki/index.mdwn .
                git add .
                git commit -m create -a
+               # No need to keep files in the master repository; so at this
+               # stage, you may want to remove all files (except .git) to
+               # save disk space.
 
                # TLA
                mkdir /tla
@@ -35,7 +38,9 @@ you through setting up a wiki that is stored in [[Subversion]], [[Git]],
                svn co file:///svn/wikirepo/trunk ~/wikiwc
                 
                # Git
-               git clone /git/wikirepo ~/wikiwc
+               # Create a local clone to save disk space and also to
+               # optimize performance. See git-clone(1).
+               git clone -l -s /git/wikirepo ~/wikiwc
 
                # TLA
                mkdir ~/wikiwc