If I understand correctly, you will need to permit sharing of the two repo 
folders so that the other PC is allowed to access the folder.

So (XP thoughts) in the source PC, right click the repo folder in windows 
explorer, select sharing, and permit the appropriate User / PC to access the 
folder (full read write? It may be that you allow read to the repo, and 
read/write to the .git for pushing to it).

In the second PC you should now be able to 'see' that folder in Win Expl and 
can do the clone. Give similar permissions to that folder.

Assuming both PC's are active, with a working directory/folder, you need to 
avoid using "master" (i.e. checking out a common branch on both machines) 
because that causes a clash when you try and push. When I do this, I have a 
'mine' and a 'theirs' (using real names) branches, so that I merge their work 
into mine, and they merge my work into theirs (from the fetched remote branch). 
We do have a "master branch" but we organise that one person will do that 
update (usually as a fast forward), publish it, and then checkout their own 
branch leaving 'master' in peace as a reference.

Does that help

Philip
  ----- Original Message ----- 
  From: Leonidas Savvides 
  To: git-users@googlegroups.com 
  Sent: Saturday, April 06, 2013 10:24 AM
  Subject: [git-users] connectng 2 win PCs in local network - clone folder to 
other PC


  connectng 2 win PCs in local network
  if in one pc(USER-HP) i have a repo:
  cd C:/Users/User/Documents/PhoneGap/trnotes
  To connect with another pc(USER-PC) and clone (both installed git bash) this 
is correct:

  git clone User-HP@192.168.10.11:C:/Users/User/Documents/PhoneGap/trnotes 
theProject

  to create theProject in working folder git bash...(from USER-PC pc that 
accept the clone) (needed have .git this?)???


  User-HP@192.168.10.11 ip of source pc
  USER-PC pc that accept the clone - destinated pc

  i must be able to write/read from windows explorer to 
  User-HP@192.168.10.11:C:/Users/User/Documents/PhoneGap/trnotes
  from USER-PC pc that accept the clone??? for success??

  In other words how setup permissions for above?

  -- 
  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.
   
   

  No virus found in this message.
  Checked by AVG - www.avg.com
  Version: 2013.0.3272 / Virus Database: 3162/6227 - Release Date: 04/05/13

-- 
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