??changed:
-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 existing
CVS repository to a new git repository.
Git comes with the tool, git-cvsimport which will import a CVS repository into
a new git project. You may want to use this for converting your existing CVS
repository to a new git repository.
++added:
$ myrepository='pserver:[EMAIL PROTECTED]' # Or whatever you usually use for
CVS
??changed:
- $ cd $myproject # Note: that this is new directory. It is not git yet.
$ cd $myproject # Note: that this is new directory. It is not git yet.
??changed:
- $ git-cvsimport -A ../authors.txt -p x -v -d :pserver:[EMAIL
PROTECTED]:/sources/$project $module
-
-If your project is old, git-cvsimport may take a long time.
$ git-cvsimport -A ../authors.txt -p x -v -d:${myrepository}:/sources/$project
$module
Adjust the -d to be whatever you use to checkout CVS; the nongnu address won't
be correct if your project is a gnu project. If your project is old or has lots
of commits, git-cvsimport may take a long time.
??changed:
-On your project page, activate `git`. For example the libcdio project the URL
for the project page is:
On your project page, activate `git`. For example the libcdio project the URL
for the project page is::
??changed:
-"activated" is in the second column and the "git" row is midway down the page.
"activated" is in the second column and the "git" row is midway down the page.
If you forget to do this or git is not active, you may get a message like this::
Pushing to [EMAIL PROTECTED]:/srv/git/libcdio.git
fatal: '/srv/git/libcdio.git': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
??changed:
- git push --tags -v [EMAIL PROTECTED]:/srv/git/project.git
-
-Similarly remember to use the '--all' flags to push all branches, not just the
'master' one.
$ login='mylogin'
$ project='myproject'
$ git push --tags -v [EMAIL PROTECTED]:/srv/git/${project}.git
Similarly remember to use the '--all' flags to push all branches, not just the
'master' one:
$ git push --all -v [EMAIL PROTECTED]:/srv/git/${project}.git
If you have branches and you don't push all branches when you do a git-clone
you may get error messages like the one below::
$ git clone git://git.savannah.gnu.org/libcdio.git
Initialized empty Git repository in /src/external-vcs/libcdio/.git/
remote: Counting objects: 15471, done.
remote: Compressing objects: 100% (3223/3223), done.
....
Receiving objects: 100% (15471/15471), 16.56 MiB | 231 KiB/s, done.
Resolving deltas: 99% (12089/12208) Resolving deltas: 100% (12208/12208)
Resolving deltas: 100% (12208/12208), done.
cd: 491: can't cd to /src/external-vcs/libcdio/.git/refs/remotes/origin
Warning: Remote HEAD refers to nonexistent ref, unable to checkout.
??changed:
-
* http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png - Git Cheat Sheet
--
forwarded from https://savannah.gnu.org/maintenance/[EMAIL
PROTECTED]://savannah.gnu.org/maintenance
_______________________________________________
Savannah-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/savannah-cvs