T
T
ttools2013-01-13 23:34:02
git
ttools, 2013-01-13 23:34:02

Tell me if git is suitable for solving this problem

Good day to all!

There is a small development team working on one modular system. Each module is a separate project (catalog). All developers in the team are equal and can both add new modules and modify existing ones, and one developer can get the task of finalizing a module that was originally written and edited many times by others. Now VSS is used in this way: the developer received a task to modify a certain module, shipped it to himself and blocked it (check-in), corrected it and shipped it back (check-out). At the same time, one developer can block and work on several projects at the same time, depending on priorities. If one of the developers (No. 2) receives a task to edit a module that is already being edited by another (No. 1), when trying to check-in, the developer receives a corresponding message that the files are being edited and by whom. In this case, #2 contacts #1 to find out and agree on when the files will be available. Those. 2 people can't change the same thing at the same time.

Is this possible in Git?

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
EugeneOZ, 2013-01-13
@EugeneOZ

Git is designed for exactly the opposite. Your code control policy is wrong.

A
Antelle, 2013-01-14
@Antelle

This is called the concurrency model (there is a lock or merge). In git, only merge, and you need lock.
In general, no, this is not possible in git.

G
Gribozavr, 2013-01-13
@gribozavr

Can. Let them just talk to each other and decide who does what.
There is no need to solve administrative problems with technical measures. If in your project one of the developers needs to block a whole *module* for normal everyday work, then something is wrong with you either with the developers, or with the process, or with the organization of the source code tree.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question