Thx Alex,

regarding structure of Git repository i would like to understand something.
I've read book and watched videos with several "trends / methods" regard
sync several computers together.

1st method is to have several git repository (1 per project)
2nd method is to have 1 main git repository where all projects are inside it

i understand that from maintenance point of view method 2 is easier to
maintain but is it the best solution ? a commit or an update would run on
ALL projects inside this repository, so maybe it's time consuming.

On Wed, Jun 1, 2016 at 5:00 PM, Alexandru Pătrănescu <dreal...@gmail.com>
wrote:

> Hi,
>
> As BitBucket is high available I suggest to keep it as a main central
> repo.
>
> To have sync-ed copy of it you can have repos in any other places.
> Start them with *git clone --mirror <BitBucket repo url>* and update them
> once every minute with *git remote update --prune*.
>
> Alex
>
>
> On Wed, Jun 1, 2016 at 5:51 PM, Alain <raf.n...@gmail.com> wrote:
>
>> Hi,
>>
>> i use for now BitBucket (from ATlassian) but in order to not depend on
>> internet connection, i would like to be sure both computer (laptop and
>> desktop) always have the same code.
>>
>> As git is a distributed system, i would like to sync not only 1
>> repository but all repositories at once.
>>
>> Should i install on both computer Gitlab (both computers have Kubuntu
>> 16.04) ?
>>
>> I do not want my repositories to be public or to pay for a Git solution,
>> so i do not use GitHub.
>> Till now i use BitBucket and i use it as Git remote solution, so maybe
>> this is the best solution till now...
>>
>> I'm waiting your answers.
>>
>> thx
>>
>>
>> --
>> 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/d/optout.
>>
>
> --
> 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/d/optout.
>



-- 
Alain
-----------------------------------------------------------
Windows 7 x64 / Fedora 20 x64
MySQL 5.6.x
Apache 2.4.7 / OpenSSL 1.0.1c
Tomcat 7.17
PHP 5.5

-- 
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/d/optout.

Reply via email to