简体   繁体   中英

Setting up local git server and adding multiple users

I am successful in creating a local git repository and cloning it to another folder.

What I am not able to do is pushing files from the cloned folder to the repository.

And I want my team mates to use the same repository and pull & push the codes.

Thank you

First of all read this: Setting-Up-the-Server .

You will also need to set up transfer protocols for git.
Read about it here and choose the right protocol for you.

The Protocols

Git can use four major protocols to transfer data:

Local, HTTP , Secure Shell ( SSH ) and Git .
Here we'll discuss what they are and in what basic circumstances you would want (or not want) to use them.

https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM