Information Technology Reference
In-Depth Information
# Guest OS (Ubuntu 12.04)
# as vagrant user
$ sudo su - git
Now, the $ ls command:
# Guest OS (Ubuntu 12.04)
# as git user
$ ls
should print one file: admin.pub . Set up gitolite for the git account:
# Guest OS (Ubuntu 12.04)
# as git user
$ gl-setup admin.pub
The above command is executed only once—when you initialize the work with git-
olite on the git@localhost account. It opens the vi editor with the gitolite config-
uration. Save the file and close the ssh session to the git account:
# Guest OS (Ubuntu 12.04)
# as git user
$ exit
Creating repositories
To create a new repository open the ssh session to the git account:
# Guest OS (Ubuntu 12.04)
# as vagrant user
$ sudo su - git
Clone the repository from Recipe 6-7:
# Guest OS (Ubuntu 12.04)
# as git user
$ git clone --bare file:///pub/git/06-07 /home/git/
repositories/abc.git
Search WWH ::




Custom Search