Remove the .cvsps cache in the home directory if it exists and use a global CVSMODULE...
[gc-utils.git] / gc-commit.1
blob3494414ed4cbd2db6fdf14a7384e7cab78d51ca3
1 .TH gc\-commit 1 "November 21, 2007" "version $VERSION$" "USER COMMANDS"
2 .sh NAME
3 gc\-commit \- Apply a git commit to a cvs repository
4 .SH SYNOPSIS
5 .B gc\-commit
6 [\-h] [\-V] [\-C] [\-c] [\-f]
7 .SH DESCRIPTION
8 Exports commits from a git repository, that was previously imported using gc\-import, and commit it into the CVS
9 .SH OPTIONS
10 .TP
11 \-h
12 display a short help text
13 .TP
14 \-V
15 echos version information
16 .TP
17 \-C
18 run a cvs clean. Thils will run cvs up \-C in the .cvs directory and then remove all .#* files. Make sure you don't have any .# files in your cvs tree that shouldnot be affected.
19 .TP
20 \-c
21 commit directly to cvs if no errors occured. Without that option, gc-commit will present you a command that you should run in the .cvs directory.
22 .TP
23 \-f
24 force patching of the cvs working copy even it's unclean.
25 .SH EXAMPLES
26 .TP
27 import a repository into the given directory
28 .PP
29 .RS 4
30 .nf
31 .B gc\-import -d myproj.git -m -u :ext:foo@example.com:/csvroot myproject
32 .B cd myproj.git
33 //edit foo.c
34 .B git commit
35 Version feac8a commited
36 .B gc\-commit -c feac8a
37 Import into cvs and commit if successfull
38 .fi
39 .PP
40 .SH EXIT STATUS
41 gc\-commit returns zero if it succeeds. A non zero value is returned in case of a failure.
42 .SH AUTHOR
43 David Soria Parra (dsp (at) php.net)
44 .SH SEE ALSO
45 git\-cvsexportcommit(1)