1 .TH gc\-update 1 "March 30, 2008" "version $VERSION$" "USER COMMANDS"
3 gc\-update \- Update a GIT repository that was imported with gc-import
6 [\-h] [\-V] [\-v] [\-cn] [\-m]
8 Updates a GIT repository that was previously imported using gc\-import.
10 By default gc\-update tries to rebase the branch that tracks the CVS onto the
11 \fImaster\fR branch, but you can specify the -m option to use merge. Using merge
12 might result in duplicated commits if you try to reimport commits that were
13 previously exported from the same repository into CVS, because the timestamps
14 and email addresses will differ and therefore a different commit is
17 Before gc\-update merges or rebases, it stashes away the current changes.
21 Display a short help text
24 Echos version information
27 Turn on verbose output
30 Do not run \fIcvs update\fR in the CVS working copy (.cvs/)
33 Merge the cvs branch and the master branch instead of rebase them
36 Update a given GIT repository from CVS:
40 .B gc\-import \-d myproj.git \-m \-u :ext:foo@example.com:/csvroot myproject
43 // somebody commited into the example.com CVS
44 // fetch whats changed
46 // git repository is now up to date
50 gc\-update returns zero on success. A non zero value is returned in case of failure.
52 David Soria Parra (dsp (at) php.net)
54 git\-cvsimport(1), git\-rebase(1)