Information Technology Reference
In-Depth Information
• Branch b —read/write access without forced pushes
• Branch c —read-only access
The repository abc in this recipe will be a clone of the repository from Recipe 6-7.
Solution
Initialize a new virtual machine with:
# Host OS (e.g., Windows, Linux, OS X)
$ cd git-recipes
$ mkdir 11-10
$ cd 11-10
$ vagrant init precise32 http://files.vagrantup.com/
precise32.box
Add the configuration option responsible for synchronizing the git-recipes directory:
config.vm.synced_folder "c:\\some\\where\\git-recipes",
"/pub/git"
Boot the virtual machine and open the ssh session:
# Host OS (e.g., Windows, Linux, OS X)
$ vagrant up
$ vagrant ssh
Installation of a gitolite package
Upgrade the dependencies and install gitolite:
# Guest OS (Ubuntu 12.04)
# as vagrant user
$ sudo apt-get update -y
$ sudo apt-get install -y gitolite
Search WWH ::




Custom Search