我需要从命令行以二进制模式提交一个jar文件。
我应该使用什么命令?以下命令无效:
我应该使用什么命令?以下命令无效:
$ cvs commit -kb -m "Committing v2.5.7" myJar.jar
Usage: cvs commit [-Rlf] [-m msg | -F logfile] [-r rev] files...
-R Process directories recursively.
-l Local directory only (not recursive).
-f Force the file to be committed; disables recursion.
-F logfile Read the log message from file.
-m msg Log message.
-r rev Commit to this branch or trunk revision.
cvs admin -kb slides.odp
,但是出现了cvs admin: cannot admin newly added file 'slides.odp'
的错误提示。因此,我将该文件移开,让cvs删除它,然后再将其移回,并使用'cvs add -kb'命令进行添加。 - ericP