我需要从命令行以二进制模式提交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.
Run Code Online (Sandbox Code Playgroud)
Kei*_*son 20
cvs add -kb myJar.jar
cvs commit -m "Committing v2.5.7" myJar.jar
Run Code Online (Sandbox Code Playgroud)
如果你已经没有承诺-kb,你可以使用
cvs admin -kb myJar.jar
Run Code Online (Sandbox Code Playgroud)
您还可以使用CVSROOT/cvswrappers指定所有*.jar文件都是二进制文件.