Try to create a Git remote repository in the same Domain but failed -


i have 2 computers in 1 domain, 1 linux , other 1 windows. build remote repo on linux, url 10.10.10.1/test, use git init --bare build repo , no error report.

and on windows site have local repo , submit files in already. give following cmds:

$ git remote add origin 10.10.10.1/test 

and checked:

$ git remote -v origin 10.10.10.1/test (fetch) origin 10.10.10.1/test (push) 

then try push master origin

$ git push origin master 

i got

fatal: '10.10.10.1/test' not appear git repository fatal: not read remote repository  please make sure have correct access rights , repository exists. 

i tried on local windows same process , works, try on github , works, too, think problem gave wrong url. can ping 10.10.10.1 local , can find folder /test well, tried following cmds , doesn't work either.

git remote add origin 10.10.10.1/test git remote add origin \\10.10.10.1\test git remote add origin \\\\10.10.10.1\\test git remote add origin smb://10.10.10.1/test (git doesn't reconize keyword 'smb') 

what url should give in case or there settings in samba on linux side need modify? time read much.

tim


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -