涓嬩竴涓細 Global options, 涓婁竴涓細 Exit status, 涓婂眰锛� CVS commands
鏈変竴浜� command_options
浣跨敤寰楅潪甯搁绻侊紝闇€瑕侀噰鐢ㄥ埆鍚嶆垨鍏朵粬鏂瑰紡鏉ョ‘淇濇寚瀹�
杩欎簺閫夐」銆備竴绉嶆儏鍐�(浜嬪疄涓婏紝姝f槸姝ゅ師鍥犲鑷翠娇鐢� .cvsrc)鏄汉浠彂鐜伴粯璁ょ殑
`diff' 杈撳嚭闅句互闃呰锛岀浉瀵硅€岃█锛屼笂涓嬫枃 diffs 鎴� unidiffs 閮芥瘮瀹冨鏄撶悊瑙c€�
~/.cvsrc 鏂囦欢鏄竴绉嶅皢榛樿閫夐」鍔犵粰 cvs_commands
鐨勬柟娉曪紝鐢ㄦ潵鍙栦唬鍒悕
鎴栧叾浠� shell 鑴氭湰鐨勬柟娉曘€�
~/.cvsrc 鐨勬牸寮忓緢绠€鍗曘€傚綋 cvs_command
琚墽琛屾椂锛岃鏂囦欢鎸夌浉鍚岀殑
鍛戒护鍚嶆悳绱㈡瘡涓€琛屻€傝嫢鍖归厤锛岃琛屽墿浣欓儴鍒嗗皢琚垎闅�(绌烘牸)鎴愬悇閫夐」锛屾坊鍔犲埌鍛戒护琛岀殑鎵€鏈�
鍙傛暟涔嬪墠銆�
濡傛灉涓€涓懡浠ゆ湁涓や釜鍚嶇О(姣斿锛�checkout
鍜� co
)锛屽叾姝e紡鍚嶇О锛岃€屼笉鏄�
鍛戒护琛屼腑浣跨敤鐨勶紝灏嗚鐢ㄦ潵杩涜姣旇緝銆備簬鏄鏋滅敤鎴风殑涓€涓� ~/.cvsrc 鏂囦欢鍐呭涓�:
log -N diff -uN rdiff -u update -Pd checkout -P release -d
鍛戒护 `cvs checkout foo' 灏嗘湁 `-P' 閫夐」琚坊鍔犲埌鍙傛暟涓紝瀵逛簬 `cvs co foo' 涔熷姝ゃ€�
涓婇潰鐨勪緥瀛愶紝`cvs
diff foobar' 鍛戒护鐨勮緭鍑轰负 unidiff 鏍煎紡銆俙cvs diff -c foobar'
鎻愪緵涓婁笅鏂� diffs銆傚瑕佽幏寰�"鏃х殑" diff 鐨勮緭鍑烘牸寮忥紝浼氭湁浜涢夯鐑︼紝鍥犱负 diff
骞舵病鏈変竴涓€夐」閫傜敤浜�"鏃х殑"鏍煎紡锛屾墍浠ヤ綘闇€瑕佺敤 `cvs -f diff foobar'銆�
浣犺繕鍙互浣跨敤 cvs
浣滀负鍛戒护鍚嶆潵鎸囧畾鍏ㄥ眬閫夐」 (鍙傞槄 Global options)銆�
渚嬪锛屽湪 .cvsrc 涓坊鍔犺繖鏍蜂竴琛�
cvs -z6
灏嗚揩浣� cvs 閲囩敤鍘嬬缉绾у埆 6銆�