Git building on his server



  • I'm set. 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 git On 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. git.site.com/new_site + access.
    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:

    1. Set Git
    2. Create a laser. git with the home director, for example /home/git/
    3. Establish a director for repository, for example /home/git/new_rep.git
    4. Move to the new directory and initiate repository git init --bare
    5. To clone repositories to by reference git@site.com:~/new_rep.git

    In doing so, access is globally channelled through a system laser git for which the password can be applied, or id-rsa key. 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


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2