~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to Documentation/git-cvsexportcommit.txt

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
SYNOPSIS
10
10
--------
11
 
'git-cvsexportcommit' [-h] [-v] [-c] [-P] [-p] [-a] [-d cvsroot] [-f] [-m msgprefix] [PARENTCOMMIT] COMMITID
 
11
'git-cvsexportcommit' [-h] [-u] [-v] [-c] [-P] [-p] [-a] [-d cvsroot] [-f] [-m msgprefix] [PARENTCOMMIT] COMMITID
12
12
 
13
13
 
14
14
DESCRIPTION
15
15
-----------
16
16
Exports a commit from GIT to a CVS checkout, making it easier
17
 
to merge patches from a git repository into a CVS repository. 
 
17
to merge patches from a git repository into a CVS repository.
18
18
 
19
 
Execute it from the root of the CVS working copy. GIT_DIR must be defined. 
 
19
Execute it from the root of the CVS working copy. GIT_DIR must be defined.
20
20
See examples below.
21
21
 
22
 
It does its best to do the safe thing, it will check that the files are 
23
 
unchanged and up to date in the CVS checkout, and it will not autocommit 
 
22
It does its best to do the safe thing, it will check that the files are
 
23
unchanged and up to date in the CVS checkout, and it will not autocommit
24
24
by default.
25
25
 
26
26
Supports file additions, removals, and commits that affect binary files.
27
27
 
28
28
If the commit is a merge commit, you must tell git-cvsexportcommit what parent
29
 
should the changeset be done against. 
 
29
should the changeset be done against.
30
30
 
31
31
OPTIONS
32
32
-------
55
55
        Force the parent commit, even if it is not a direct parent.
56
56
 
57
57
-m::
58
 
        Prepend the commit message with the provided prefix. 
 
58
        Prepend the commit message with the provided prefix.
59
59
        Useful for patch series and the like.
60
60
 
 
61
-u::
 
62
        Update affected files from CVS repository before attempting export.
 
63
 
61
64
-v::
62
65
        Verbose.
63
66
 
70
73
$ export GIT_DIR=~/project/.git
71
74
$ cd ~/project_cvs_checkout
72
75
$ git-cvsexportcommit -v <commit-sha1>
73
 
$ cvs commit -F .mgs <files> 
 
76
$ cvs commit -F .mgs <files>
74
77
------------
75
78
 
76
79
Merge pending patches into CVS automatically -- only if you really know what you are doing::
92
95
GIT
93
96
---
94
97
Part of the gitlink:git[7] suite
95