On Mon, Oct 8, 2012 at 11:30 AM, Matthieu Moy
<matthieu....@grenoble-inp.fr> wrote:
> Ramkumar Ramachandra <artag...@gmail.com> writes:
>
>>> So, is it possible to lock a file while someone work on it ?
>>
>> No, and I honestly think it's a bad idea.
>
> If you work on non-mergeable files (e.g. *.doc files. There are merge
> tools for MS Word and LibreOffice, but my experience with them was not
> really pleasant), then file locking is indeed not such a bad idea.

gitolite to the rescue:

http://sitaramc.github.com/gitolite/locking.html

If you want to setup a git server, look at gitolite.
It's really easy and slick.

I would advise against the file locking, though.  You ain't gonna need it ;-)
-- 
David
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to