savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] [UsingGit] (edit)


From: rocky
Subject: [Savannah-cvs] [UsingGit] (edit)
Date: Sat, 29 Nov 2008 00:49:03 +0000

??changed:
-Git comes with the right tool, called git-cvsimport.
-
-This tool use an authors file to map username->real name (option -A)
-it looks like this::
Git comes with the a tool, `git-cvsimport` which will import a CVS repository 
into a new git project. You may want to use this for converting your CVS 
repository to a git repository.

We will `git-cvsimport` with a file which maps a savannah login name username 
to real name (option -A).
The format of this file like this::

??changed:
-Common invokation::
-
- git-cvsimport -A ../authors.txt -p x -v -d 
:pserver:address@hidden:/sources/$project $module
After creating this file, run something along the lines of the following 
mythical shell session::

 $ # create authors.txt
 $ project='myproject' # change myproject
 $ mkdir $myproject
 $ cd $myproject     # Note: that this is new directory. It is not git yet.
 $ module='mymodule'   # adjust this
 $ git-cvsimport -A ../authors.txt -p x -v -d 
:pserver:address@hidden:/sources/$project $module

If your project is old `git-cvsimport` may take a long time.

++added:


Converting from CVS or SVN to git
=================================

On your project page, activate `git`. For example the libcdio project the URL 
for the project page is:

   https://savannah.gnu.org/project/admin/editgroupfeatures.php?group=libcdio

"activated" is in the second column and the "git" row is midway down the page.

The basic steps are to create a local git repository on your computer, by 
importing from CVS, and then pushing that out to your savannah project page (I 
think). Before starting though you may want to add a branch or "tag" of the old 
resitory. For example::
  
  $ cd my-checked-out-cvs-repository
  $ cvs tag -b repository-before-move-to-git

--
forwarded from 
https://savannah.gnu.org/maintenance/address@hidden://savannah.gnu.org/maintenance




reply via email to

[Prev in Thread] Current Thread [Next in Thread]