
さて、これらをリポジトリに反映させるために commit(checkin) します。 commit はオプションを指定しない限り再帰的に ディレクトリを移動し処理されます。便利です。
shimaki:~/tmp/hello $ cvs commit cvs commit: Examining . cvs commit: Examining docs RCS file: /home/shimaki/cvs/cvsroot/hello/docs/gpl.texinfo,v done Checking in docs/gpl.texinfo; /home/shimaki/cvs/cvsroot/hello/docs/gpl.texinfo,v <-- gpl.texinfo initial revision: 1.1 done RCS file: /home/shimaki/cvs/cvsroot/hello/docs/hello.texi,v done Checking in docs/hello.texi; /home/shimaki/cvs/cvsroot/hello/docs/hello.texi,v <-- hello.texi initial revision: 1.1 done shimaki:~/tmp/hello $ |
おそらくこのときもコメント入力になると思います。 気の効いたコメントを入力しましょう!
さて、ここではじめて docs 以下のファイルをリポジトリに反映されます。 これで安心してワークディレクトリを削除できます。 checkout し直してみると今までの作業ツリーのコピーが また再現されるのが確認できると思います。
shimaki:~/tmp $ cvs checkout hello cvs checkout: Updating hello U hello/README U hello/hello.c cvs checkout: Updating hello/docs U hello/docs/gpl.texinfo U hello/docs/hello.texi shimaki:~/tmp $ |