X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fcvs-migration.txt;h=3b6b494162de6993ee6ffb6142fcc85b73609d9c;hb=2dfffd3e09b2541b1bfcc840a65eac0251832175;hp=b657f4589f95257547b646ef22d3201fefbae6d6;hpb=fa2376f3c89ae59f33e50e0e5769dec2652e9568;p=git.git diff --git a/Documentation/cvs-migration.txt b/Documentation/cvs-migration.txt index b657f4589..3b6b49416 100644 --- a/Documentation/cvs-migration.txt +++ b/Documentation/cvs-migration.txt @@ -34,13 +34,10 @@ them first before running git pull. [NOTE] ================================ -The first `git clone` places the following in the -`my-project/.git/remotes/origin` file, and that's why the previous step -and the next step both work. ------------- -URL: foo.com:/pub/project.git/ -Pull: refs/heads/master:refs/remotes/origin/master ------------- +The `pull` command knows where to get updates from because of certain +configuration variables that were set by the first `git clone` +command; see `git config -l` and the gitlink:git-config[1] man +page for details. ================================ You can update the shared repository with your changes by first committing @@ -83,7 +80,7 @@ it: ------------------------------------------------ $ mkdir /pub/my-repo.git $ cd /pub/my-repo.git -$ git --bare init-db --shared +$ git --bare init --shared $ git --bare fetch /home/alice/myproject master:master ------------------------------------------------ @@ -112,7 +109,7 @@ sure it is in your path. Then cd to a checked out CVS working directory of the project you are interested in and run gitlink:git-cvsimport[1]: ------------------------------------------- -$ git cvsimport -C +$ git cvsimport -C ------------------------------------------- This puts a git archive of the named CVS module in the directory