Git building on his server
debian♪ I wanted to build my repositories, for example.
git.site.com(this folder is on the server) and so that I can create different repositories in this folder.
Reading a lot of documentation, setting up
gitOn the server, I learned the main teams, but I still don't know how to give access, cloning and lick. I'd really like to have a subpack, for example.
new_siteI could create a repository in it, and it would be available at the address.
Can someone help with that? I've already broken my head.
It's best to set up a guide server for such purposes, for example. https://about.gitlab.com ♪ There's also repository management and access rights and a web-based search interface.
Another option is to create repositories without
Gitlab♪ For this, you need to:
- Create a laser.
gitwith the home director, for example
- Establish a director for repository, for example
- Move to the new directory and initiate repository
git init --bare
- To clone repositories to by reference
In doing so, access is globally channelled through a system laser
gitfor which the password can be applied, or
id-rsakey. Actually, https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols It's all written and even written. https://git-scm.com/book/ru/v1/Git-%D0%BD%D0%B0-%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80%D0%B5