Information Technology Reference
In-Depth Information
Hint If you wish you also can generate documentation for the version just installed.
You can do this with the following two commands: $ sudo apt-get install -
y asciidoc and $ sudo make prefix=/usr install-doc . However, in-
stallation of asciidoc will take a lot of time because it installs TeX and LaTeX, among
others.
Git sources are hosted at http://git.kernel.org/cgit/git/git.git .
You will find many mirrors of this site, for example, https://github.com/git/
git . But the latest version is always available at kernel.org and the other sites are just
mirrors.
I used the --depth 1 parameter for cloning:
$ git clone --depth 1 git://git.kernel.org/pub/scm/git/
git.git
The above commands create a so-called shallow repository . The history of a reposit-
ory is truncated to a given number of the latest revisions. If you only need a checkout
of the latest revision, the shallow clone will do just fine. You can still commit in this
repository, but you will have to send your commits as patches as we did in Recipe 7-2.
You cannot clone, fetch, or push using a shallow repository. The main advantage of us-
ing a shallow repository is that cloning is much faster.
Hint Please note that the http://git.kernel.org/cgit/git/git.git
site is powered by cgit. I will show you how to use cgit to host repositories in Recipe
11-9.
When you finish the recipe do not destroy the virtual machine. If you destroy the
virtual machine you will have to repeat the complete procedure, including installation
of all packages and cloning the git sources. If you suspend the virtual machine with $
vagrant suspend or power it off with $ vagrant halt , then the next time
you boot the machine with $ vagrant up , all the software installed in this recipe
will be available.
Search WWH ::




Custom Search