[PR]liLOハ^:LOハ^lCハ^lョハ^

新規作業ファイルの作成 -- ADD

さて、マニュアルを作成するために docs/ というディクトリを 掘ることになったとします。 それをリポジトリに加えるために add します。

shimaki:~/tmp/hello $ ls
CVS/  README  hello.c
shimaki:~/tmp/hello $ mkdir docs
shimaki:~/tmp/hello $ cvs add docs
Directory /home/shimaki/cvs/cvsroot/hello/docs added to the repository
shimaki:~/tmp/hello $ 

docs/ に移動して、hello.texi を作成します。 gpl.texinfo も他から拝借してきます。

shimaki:~/tmp/hello/docs $ ls
CVS/
shimaki:~/tmp/hello/docs $ xemacs hello.texi
shimaki:~/tmp/hello/docs $ ls
CVS/  gpl.texinfo  hello.texi
shimaki:~/tmp/hello/docs $ 

これらも add します。 しかしこの時点ではまだリポジトリには反映されません。 一番最後の行の英語がそれを意味しています。 つまり commit するまではリポジトリに反映されないということです。

shimaki:~/tmp/hello/docs $ ls
CVS/  gpl.texinfo  hello.texi
shimaki:~/tmp/hello/docs $ cvs add gpl.texinfo hello.texi 
cvs add: scheduling file `gpl.texinfo' for addition
cvs add: scheduling file `hello.texi' for addition
cvs add: use 'cvs commit' to add these files permanently
shimaki:~/tmp/hello/docs $ 


[PR]餅tp:I^