Do I need github to manage the source code?

I downloaded Git and SmartGit and it seems to work well locally. We have several team members, and we want the source to be in the house. We are currently using Starteam, but I want to upgrade to a more modern rcs system like Git. Is there an easy way to sync code between team members? I suppose there should be a repository of code that "decides" which version is right.

Any clues?

+3
source share
4 answers

Since you have problems using git on a Windows server (as indicated in the comment on Greg answer ): I use bare git repo on a Windows server and work on a Windows workstation ( msysgit , tortoisegit , access via //hostname/share/to/bare.git) and several Linux virtual machines (access through ssh://hostname/path/to/bare.git) without any git-related issues, with the exception of one minor issue:

msysgit 1.7.3.1 (runs on a Windows workstation) one perl module is missing (I don’t remember), which is necessary for git svn(compressing old files). If you do not plan to use git with svn, it does not matter to you.

: , () git , , . : (. ), , :

git

git clone //hostname.domain/share/to/bare.git D:/workdir

. , .

, github , github.

+2

Git . Github - , ( , - ).

Git " ", . Git .

+5

github, , , , . github , "private" , , github. , , , .

You can also make clones / extrusions / etc from the group member machine.

+2
source

You can also use a dedicated git server like Gitosis, or https://github.com/sitaramc/gitolite (if you need fine-grained access control)

+2
source

Source: https://habr.com/ru/post/1781749/


All Articles