ファイルを追加する場合とは違い、ディレクトリを追加するのは1ステップです。 コミットする必要はありません:
floss$ mkdir c-subdir
floss$ cvs add c-subdir
Directory /usr/local/cvs/myproj/c-subdir added to the repository
floss$
作業コピーの新しいディレクトリ内を見ると、add コマンドが CVS サブディレ クトリを自動的に生成したのがわかります:
floss$ ls c-subdir
CVS/
floss$ ls c-subdir/CVS
Entries Repository Root
floss$
これで、作業ディレクトリ中のほかのディレクトリでやっているように、中にファ イルや新しいディレクトリを追加したりできます。