close

cvs status

列出所有檔案目前版本的status, status的種類可見:

http://www.network-theory.co.uk/docs/cvsmanual/Filestatus.html

 

cvs -n -q update
display file status in a more brief format
The‘-n’option means to not actually do the update, but merely to display statuses.
The‘-q’option avoids printing the name of each directory.

In the output message:
           ? filename                          [the file is not in cvs]
            M filename                         [the local copy of the file has been modified]
            A filename                          [the file has been added to CVS but not commited]
            U filename                          [the local copy is old]
            C filename                          [a conflict of modifications has occurred and the file needs correcting]


cvs update -d
This will update all files changed.
The "-d" option has the effect that new directories in the repository will also be created locally.

cvs diff filename
To look at differences of your current version and the repository type

 

cvs commit filename

To upload your local copy to the repository



 
arrow
arrow
    全站熱搜

    bamil 發表在 痞客邦 留言(0) 人氣()