首页 > 解决方案 > How do i create a remote repository from a local repository in Git?

问题描述

Hi Guys i'm using visual studio 2019 and i'm trying to learn how can i create a remote repository on a local server without using github so other people can work on it (we are in the same room), i'm trying to use only visual studio, git and the cmd

Thanks!

标签: gitvisual-studiocmd

解决方案


Based on what you wrote, what you want is to host your instance of a repository.

You need to configure your instance in a server that is accesible to all of the developers that you expect to collaborate with you. You used the tag which leads me to think you are under Windows. You may use Windows as server, but you may probably be better off with a Linux distro in your server (the machine where you intend to develop may use any OS you want). One option (I'm not affiliated with) is GitLab which has a good documentation on how to deploy your instance in several flavors of Linux, as well as some cloud services, docker, kubernetes. If you decide to stick to Windows, probably something docker-based or kubernetes-based is your option.

Be aware, however, that you don't have to stick to GitLab. There are plenty of self-hosted, open-source Git servers such as:

and many more alternatives... try looking for "self-hosted git server" and you may find many other options

Disclaimer: I don't vouch for any of the tools in this answer nor am I responsible for their malfunction should you choose one of them, I merely looked for several of them. It's your job to see which one fits your use case best


推荐阅读