Documentation / User FAQ / Maintainers' FAQ / Previous-Next
pwd
in the working terminal to verify that you are in your home directory.cd
command in the second terminal to move to the directory of the file or folder you wish to commit.cvs -d :pserver:username@projectname.domain.net:/cvs commit -m "comment" [projectname]
username
is your openoffice.org user login,projectname.domain.net
is the path to where the file lives[projectname]
is the name of a file or directory in the CVS file server, andcomment
is a one line description of the change.cvs -d :pserver:username@projectname.domain.net:/cvs commit [projectname]
username
is your openoffice.org user login,projectname.domain.net
is the path to where the file lives, and[projectname]
is the name of a file or directory in the CVS file server.After you press enter, a cvs template will pop up in vi, a Unix text editor. Type A
to begin the Insert mode at the end of the first line. Notice Insert shows at the bottom of the form during this mode. Add your entry. Use the arrow keys to drive around the template. The lines that begin with CVS are informative, and will not show as part of your commits. When your edits are complete, press the Esc
key to leave the Insert mode. Type :wq
to write and quit the cvs template. The template closes and the commit process continues in the working terminal window.
Examples of the commit command for user zzzzzz, (assuming pwd = /home/zzzzzz):
cvs -d :pserver:zzzzzz@localhost:/cvs commit documentation
cd documentation/www
cvs -d :pserver:zzzzzz@localhost:/cvs commit faqs
cd documentation/www/faqs
cvs -d :pserver:zzzzzz@localhost:/cvs commit -m "Add comments for the commit inside of the quotation marks." index.html
cd marketing/www
cvs -d :pserver:zzzzzz@localhost:/cvs commit index.html
cd qa/www
cvs -d :pserver:zzzzzz@localhost:/cvs commit index.html
Note: The commands commit
or ci
work to perform commits.
Tip: In a terminal, use the up-arrow key to cycle through the past commands used. You can select and edit commands, instead of typing them each time. The computer will only read what is visible at the command prompt when you hit the Enter key.
For more information: