mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:42:07 +02:00
cvs: add page (#6625)
This commit is contained in:
parent
2e14d3046e
commit
c4bdc2bb5a
1 changed files with 32 additions and 0 deletions
32
pages/common/cvs.md
Normal file
32
pages/common/cvs.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# cvs
|
||||||
|
|
||||||
|
> Concurrent Versions System, a revision control system.
|
||||||
|
> More information: <https://cvs.nongnu.org>.
|
||||||
|
|
||||||
|
- Create a new repository (requires the `CVSROOT` environment variable to be set externally):
|
||||||
|
|
||||||
|
`cvs -d {{path/to/repository}} init`
|
||||||
|
|
||||||
|
- Add a project to the repository:
|
||||||
|
|
||||||
|
`cvs import -m "{{message}}" {{project_name}} {{version}} {{vendor}}`
|
||||||
|
|
||||||
|
- Checkout a project:
|
||||||
|
|
||||||
|
`cvs checkout {{project_name}}`
|
||||||
|
|
||||||
|
- Show changes made to files:
|
||||||
|
|
||||||
|
`cvs diff {{path/to/file}}`
|
||||||
|
|
||||||
|
- Add a file:
|
||||||
|
|
||||||
|
`cvs add {{path/to/file}}`
|
||||||
|
|
||||||
|
- Commit a file:
|
||||||
|
|
||||||
|
`cvs commit -m "{{message}}" {{path/to/file}}`
|
||||||
|
|
||||||
|
- Update the working directory from the remote repository:
|
||||||
|
|
||||||
|
`cvs update`
|
Loading…
Add table
Reference in a new issue