X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fcvs-migration.txt;h=764cc560b4aeeb7248d94f939c976634bd395823;hb=50cfde14531a5b354bbc3a070fe39c1ee86e2915;hp=b657f4589f95257547b646ef22d3201fefbae6d6;hpb=4cfeccc75d6ab1ccc433770bac6bf3b15ab486d6;p=git.git diff --git a/Documentation/cvs-migration.txt b/Documentation/cvs-migration.txt index b657f4589..764cc560b 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 ------------------------------------------------