Debian install git server5/8/2023 ![]() chmod 2775 /var/gitĤ) Create the git repository! This creates a bare git repository (without the extra heterogeneity) and configures it to allow group access (the git user we just created). Set the group bit to ensure all new files created in this directory use the git group. ![]() Set the directory to be owned by the new git user group. Here I add both my personal account and the account running the web server (we’ll get to this later). mkdir /var/gitģ) Optional: Add a new group allowing you to control who has physical access to the git repositories. The process for configuring your own git server seemed simple so here’s how I did it:Ģ) Configure a directory where you would like your git repositories to be stored. One day a project came up that I didn’t really want to host on GitHub, likewise I had ran out of private repositories anyway. Sometimes you find yourself thinking: “I don’t really want to host this code on someone else’s servers.” Especially if you’re particularly fond of your own privacy, and like the flexibility and control of running your own services. There was an error loading some of the images for this post.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |