1 .TH "GC-IMPORT" "1" "March 30, 2008" "version $VERSION$" "USER COMMANDS"
3 gc\-import \- Structured import of a CVS repository into GIT
6 [\-h] [\-V] [\-v] [\-d <dir>] [\-r <remote>] [\-u] [\-gu] [\-gn] <cvsroot> <module>
8 Imports a CVS repository into a new GIT repository using git\-cvsimport
9 and then checks out the CVS working copy into a subdirectory.
11 You can use gc\-commit or gc\-multi\-commit to easily commit your changes from
12 the GIT repository back into CVS without having to pass a GIT_DIR or a CVSROOT
17 Display a short help text
20 Echos version information
23 Turn on verbose output
26 Directory of the newly created GIT repository
29 The remote branch to import the CVS branches into (refs/remotes/<remote>/*).
33 Usually git\-import adds the ".cvs" directory, into which
34 the CVS checkout is created, to a .gitignore file.
35 If you pass this option, the .gitignore won't be created.
38 convert underscores to dots during git\-cvsimport
41 pass --no-cvs-direct to cvsps if 'cvsps --cvs-direct' does not work
42 such as the error "cvs_direct: protocol error reading version".
45 import a repository into the given directory
49 .B gc\-import \-d myproj.git \-m \-u :ext:foo@example.com:/csvroot myproject
53 Version feac8a commited
54 .B gc\-commit \-c feac8a
55 Import into cvs and commit if successfull
59 gc\-import returns zero on success. A non zero is returned in case of failure.
61 David Soria Parra (dsp (at) php.net)
63 git\-cvsimport(1), gc\-commit(1), gc\-update(1)