On 17/10/2015 10:45, liu wen wrote: > I have two laptop A and B, I want to create a shared repository on A, > and I can clone/pull/push the shared repo on B. > is it possible? if so, what are the clone command like? > > and do I need to enter password again and again? can I avoid entering > password( like ssh-agent)? > > thanks > > -- > 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 [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout.
As long as you can "see" the other laptop via a shared directory that contains the repository the clone command will be: git clone /path/to/shared/dir/repo_dir If you set up your share so that the path above will always be the same when the "master" laptop is available and switched on you can then sync between them with simple push & pull commands. If you are not always able to connect the two you can use patches via email to keep them in step. Password management is a whole other barrel of fish. -- Steve (Gadget) Barnes Any opinions in this message are my personal opinions and do not reflect those of my employer. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
