On Wed, Mar 13, 2013 at 8:16 AM, Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:

> On Wed, 13 Mar 2013 03:15:45 -0700 (PDT)
> yosi.tsu...@gmail.com wrote:
>
> > > > do you know any software that does what i need?
> > >
> > > Subversion is a popular solution which supports locking.
> > >
> > > But you just might reconsider your approach as locking is beleived
> > > to have its downsides as well.  One popular example is a developer
> > > locking a bunch of files and going AWOL, which turns locking into a
> > > social problem thus throwing you into the same class of problem you
> > > have in a lockless system like Git.  Hence you might just consider
> > > setting up a policy for your developers to communicate their
> > > efforts and not step on each one's toes.
> > >
> > i just need to lock the file only when i work on it. so when someone
> > else try to change the file that im currently working on it he wont
> > be able to
>
> I'm not sure you understood what I written in my previous mail.
> Everybody familiar with VCS does understand what locking is all about
> and how it's supposed to work.
>
> P.S.
> Please don't top post -- this breaks the discussion flow.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
As Konstantin said, Git doesn't work with lock. However, Git allows
multiple developers to work in the same project. Git will merge files that
have been modified by more than one developer at same time and it will be
automatically if the region modified is different. Only if the region
modified is the same, you will need to perform a manual merge.

William Seiti Mizuta
@williammizuta
Caelum | Ensino e Inovação
www.caelum.com.br

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to