Documentation / git-cvsimport-script.txton commit [PATCH] When copying or renaming, keep the mode, please (35cc4bc)
   1git-cvsimport-script(1)
   2=======================
   3v0.1, July 2005
   4
   5NAME
   6----
   7git-cvsimport-script - Import a CVS repository into git
   8
   9
  10SYNOPSIS
  11--------
  12'git-cvsimport-script' [ -o <branch-for-HEAD> ] [ -h ] [ -v ]
  13                        [ -d <CVSROOT> ] [ -p <options-for-cvsps> ]
  14                        [ -C <GIT_repository> ] [ -i ] [ -k ] [ <CVS_module> ]
  15
  16
  17DESCRIPTION
  18-----------
  19Imports a CVS repository into git. It will either create a new
  20repository, or incrementally import into an existing one.
  21
  22Splitting the CVS log into patch sets is done by 'cvsps'.
  23At least version 2.1 is required.
  24
  25OPTIONS
  26-------
  27-d <CVSROOT>::
  28        The root of the CVS archive. May be local (a simple path) or remote;
  29        currently, only the :local:, :ext: and :pserver: access methods 
  30        are supported.
  31
  32-C <target-dir>::
  33        The GIT repository to import to.  If the directory doesn't
  34        exist, it will be created.  Default is the current directory.
  35
  36-i::
  37        Import-only: don't perform a checkout after importing.  This option
  38        ensures the working directory and cache remain untouched and will
  39        not create them if they do not exist.
  40
  41-k::
  42        Kill keywords: will extract files with -kk from the CVS archive
  43        to avoid noisy changesets. Highly recommended, but off by default
  44        to preserve compatibility with early imported trees. 
  45
  46-o <branch-for-HEAD>::
  47        The 'HEAD' branch from CVS is imported to the 'origin' branch within
  48        the git repository, as 'HEAD' already has a special meaning for git.
  49        Use this option if you want to import into a different branch.
  50
  51        Use '-o master' for continuing an import that was initially done by
  52        the old cvs2git tool.
  53
  54-p <options-for-cvsps>::
  55        Additional options for cvsps.
  56        The options '-u' and '-A' are implicit and should not be used here.
  57
  58        If you need to pass multiple options, separate them with a comma.
  59
  60-v::
  61        Verbosity: let 'cvsimport' report what it is doing.
  62
  63<CVS_module>::
  64        The CVS module you want to import. Relative to <CVSROOT>.
  65
  66-h::
  67        Print a short usage message and exit.
  68
  69-z <fuzz>::
  70        Pass the timestamp fuzz factor to cvsps.
  71
  72OUTPUT
  73------
  74If '-v' is specified, the script reports what it is doing.
  75
  76Otherwise, success is indicated the Unix way, i.e. by simply exiting with
  77a zero exit status.
  78
  79
  80Author
  81------
  82Written by Matthias Urlichs <smurf@smurf.noris.de>, with help from
  83various participants of the git-list <git@vger.kernel.org>.
  84
  85Documentation
  86--------------
  87Documentation by Matthias Urlichs <smurf@smurf.noris.de>.
  88
  89GIT
  90---
  91Part of the link:git.html[git] suite
  92