Click here to Skip to main content
15,902,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I set up a git in a local server, and create a new project in visual studio 2019 and add to the source control git.

How can I connect to this source control by a local client without any Internet any GitHub ... just in my local git???
thanks

What I have tried:

visual studio 2019
local git in my server without any internet
Posted
Updated 1-May-20 0:35am

You can do this from the Team Explorer tab, see: Git - Git in Visual Studio[^]
But normally VS should connect automatically.

Although Visual Studio 2019 has good Git support by now you might prefer to use another tool, see: best-git-clients-for-windows[^]

If you want to use Git from the command line, you can use Git Bash by right clicking the folder in Explorer, see: Git for Windows[^]
 
Share this answer
 
v4
Quote:
How can I connect to this source control by a local client
Your Git client only needs to know the path to the Git directory (that .git directory in the folder). For local projects, you use the directory path to this. You can use Visual Studio or command-line interface for Git CLI to do that. Both are the same.

See this for more on that: Git - git Documentation[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900