Add ChangeLog
[gc-utils.git] / gc-commit.1
blobe2ceb852a79ef1b8f438d36c94bd05dd8e9a9aee
1 .TH gc-commit 1 "November 21, 2007" "version $VERSION$" "USER COMMANDS"
2 .sh NAME
3 gc-commit \- Update a GIT repository that was imported with gc-import
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 zerio if it succeeds. A non zero is returned in case of failure.
42 .SH AUTHOR
43 David Soria Parra (dsp (at) php.net)
44 .SH SEE ALSO
45 git-cvsexportcommit(1)