[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [UsingGit] (edit) document shallow copies and git-cvssser
From: |
Beuc |
Subject: |
[Savannah-cvs] [UsingGit] (edit) document shallow copies and git-cvssserver |
Date: |
Sun, 16 Mar 2008 18:00:02 +0000 |
++added:
Shallow checkouts
=================
When bandwidth is an issue, people can download the latest version of your
repository without downloading all the history, using "shallow checkouts". Note
that such a copy has limitations, see
http://www.kernel.org/pub/software/scm/git/docs/git-clone.html , option
``--depth`` for details.
Example::
$ git clone --depth 1 git://git.sv.gnu.org/gnulib.git
Initialized empty Git repository in /tmp/gnulib/.git/
remote: Counting objects: 9897, done.
remote: Compressing objects: 100% (5462/5462), done.
Indexing 9897 objects...
remote: Total 9897 (delta 7382), reused 5737 (delta 4419)
100% (9897/9897) done
Resolving 7382 deltas...
100% (7382/7382) done
$ du -sh gnulib/.git
6,3M gnulib/.git
$ du -sh full-gnulib/.git
28M full-gnulib/.git
git-cvsserver pserver compatibility
===================================
You can download a git repository using the CVS client, thanks to a
pserver-compatible server from git::
$ cvs -d:pserver:address@hidden:/autoconf.git co -d autoconf master
cvs checkout: Updating autoconf
U autoconf/.cvsignore
U autoconf/.gitattributes
U autoconf/.gitignore
U autoconf/.x-sc_prohibit_atoi_atof
U autoconf/.x-sc_space_tab
U autoconf/.x-sc_sun_os_names
U autoconf/.x-sc_trailing_blank
U autoconf/.x-sc_useless_cpp_parens
U autoconf/AUTHORS
U autoconf/BUGS
U autoconf/COPYING
...
--
forwarded from
https://savannah.gnu.org/maintenance/address@hidden://savannah.gnu.org/maintenance
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-cvs] [UsingGit] (edit) document shallow copies and git-cvssserver,
Beuc <=