From ed39fc3ee4ef33e00ddd6ecb22feffdb686c7903 Mon Sep 17 00:00:00 2001 From: mhagger Date: Wed, 24 Oct 2012 04:14:34 +0000 Subject: [PATCH] www/cvs2git.html: Suggest running "git gc" after the conversion. Suggested by: Uri Moszkowicz git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5407 be7e6eca-30d4-0310-a8e5-ac0d63af7087 --- www/cvs2git.html | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/www/cvs2git.html b/www/cvs2git.html index 886b8312..56fe2b6a 100644 --- a/www/cvs2git.html +++ b/www/cvs2git.html @@ -383,10 +383,21 @@ gitk --all
  • -

    The result of this procedure is a bare git repository - (one that does not have a checked-out version of the source - tree). This is the type of repository that you would put on - your server. To work on your project, make a non-bare clone +

    (Recommended) Re-compact the repository and discard any + garbage:

    + +
    +git gc --prune=now
    +
    + +
  • + +
  • + +

    The result of the above procedure is a bare git + repository (one that does not have a checked-out version of the + source tree). This is the type of repository that you would put + on your server. To work on your project, make a non-bare clone (one that includes a checked-out source tree):

    @@ -421,7 +432,7 @@ git init
       
  • When the conversion is done, instead of cloning as described - in step 8, you need to explicitly check out the "master" version + in step 9, you need to explicitly check out the "master" version of the files into your working tree:

    -- 
    2.11.4.GIT