infoCopter.com
retoh's Online Repository for myself and other Web Geeks

home | newsletter | site map

Free Stuff

: links

: Neue Surf Tips

: know-how

: Zitate

: Spam Strike

: HTML Checker!

: Link Checker

: Cartoons



About IC

: friends

: lust und frust

: guestbook

: what's new

CVS
p-friendly
Home :: Know-how :: CVS


Create from scratch

mkdir ~/cvs_sample_repo
mkdir ~/cvs_sample_repo/project_a
cvs -d ~/cvs_sample_repo init
cd ~/cvs_sample_src/project_a
cvs -d ~/cvs_sample_repo import -m "sample message" project_a sampleVendor sampleRelease

Make work copy of a project

mkdir ~/cvs_sample_workdir
cd    ~/cvs_sample_workdir
cvs -d ~/cvs_sample_repo checkout project_a

Daily business

cd ~/cvs_sample_workdir/project_a

... make changes ...

cvs update
cvs commit



########################################################### # SPECIAL BUSINESS ###########################################################

set release 2.0:

cvs update cvs commit -r 2.0

downgrade to release 1.0:

cd ~/cvs_sample_workdir cvs -d ~/cvs_sample_repo checkout -r 1.0 project_a

Check history log of a specific file

cvs log {{FILENAME}}

Comment line within file, automatically managed by CVS:

# @(#) $Id: notesexp.ws3,v 1.8 2000/12/28 17:21:30 hersiczk Exp $

further notes...

from /home/retoh/weboffice_internic_1188
cvs init
cvs import -m "start weboffice internic regi" weboffice_internic_1188 retoh
weboffice_internic_1188
                                              ^remote                       ^local


cvs import -m "Import of FSF v. 0.04" fsf/wdiff FSF_DIST WDIFF_0_04

The vendor tag is named `FSF_DIST' in the above example, and the only release tag
assigned is `WDIFF_0_04'. 

delete file(s):

cvs delete -lR 

-lR   small 
Know-How home | Must Read | What's new? | iC Site Map
link search
©1998-2004 infoCopter