Code University

      "Where tuition is free!"

News | Images | Contact     
  • Home
  • Coding KC
  • Scripts
  • Software
  • Templates
  • Tutorials
  • About
 

Tutorials

Posted on Jun 27, 2010 at 23:15

CVS - repo setup


1) Create a new repository
> cvs -d /home/steved/mycvs_repo init
Creates a brand new repository in /home/steved

2) Create a skeleton repository
> cd /home/steved > mkdir mycvs > cd mycvs > mkdir module1 > mkdir module2 > mkdir moduel3
Find a place to create a skeleton directory structure for repository. Begin constructing a skeleton directory structure.

3) Import into repository
> cd module1 > cvs -d /home/steved/mycvs_repo import -m "Created initial directory structure" module1 my_company start No conflicts created by this import resulting repo: /home/steved/mycvs_repo/module1 > cd ../module2 > cvs -d /home/steved/mycvs_repo import -m "Created initial directory structure" module2 my_company start No conflicts created by this import resulting repo: /home/steved/mycvs_repo/module2 > cd ../module3 > cvs -d /home/steved/mycvs_repo import -m "Created initial directory structure" module3 my_company start No conflicts created by this import resulting repo: /home/steved/mycvs_repo/module3
Creates a brand new repository in /home/steved

4) Create a new file in module1
> cd ../module1 > vi file1.txt > cvs add file1.txt > cvs commit -m "Added file1.txt to repositiory" file1.txt resulting repo: /home/steved/mycvs_repo/module1/file1.txt

5) Make a change to file1 in module1
> cd ../module1 > vi file1.txt (make the change) > cvs commit -m "Changed this and that in file1.txt" file1.txt

6) Create a new directory in module1
> cd ../module1 > mkdir new_dir > vi new_dir/file1.txt > cvs add new_dir


Tagged:  Linux, UNIX
Tutorials
  • Introduction
  • Documentation
    Creating man(ual) pages
  • Dual Boot Systems
    Fedora/Windows XP
    Red Hat/FreeBSD
  • Files
    Dynamic PDF generation
  • Linux
    NTP server setup
    Root password reset (grub)
  • Networking
    ndiswrapper setup (wireless)
  • Version Control
    CVS - repo setup
  • Web Hosting
    Apache 2 - Installations
    Apache 2 - Configurations
    Apache 2 - Virtual Hosts
Resources
  • CodeIgniter - MVC Framework
  • HowtoForge - Linux Tutorials
  • Linux Today - Linux News
  • Lxer - Linux News Feed
  • Monsterb - Linux, Podcasting
  • MySQL - Databasing
  • Perl - Programming
  • PHP - Programming
  • Systhread - Admin & Programming
  • W3Schools - Web Tutorials
About

Code University contains a wealth of technical information aimed at the computer sciences.


 
Home | Coding KC | Scripts | Software | Templates | Tutorials | About
Top ^
 
© 2007-2012 Code University| Disclaimer
Website template by Arcsin