Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am in confusion about the Exact Git URL

I need git URL but i don't know which one of these is git URL . I cannot access these because repository is private.

Can anyone tell me which is git URL from these two?

VB
git.uip.pk:inf5750/projectab/pro_farooqab

g*******@git.uip.po:*******/projectab/pro_farooqab


[Edit] Removed authentication informations [/Edit]
Posted
Updated 19-Oct-15 8:41am
v2
Comments
phil.o 19-Oct-15 14:43pm    
Leaving authentication informations visible from all like you did, is not the best thing to do, I'm afraid. I guess, since beginning of September, they have been changed; I hope so.
Albert Holguin 19-Oct-15 14:54pm    
the part after ":" is not anything that has to do with authentication, it's part of the path... only thing he exposed was a username, which may or may not be useful depending on ssh security settings.
phil.o 19-Oct-15 14:57pm    
Yes, thanks for pointing. Even more silly because I left on the upper line what I thought was a password on the second one...
I hate mondays.
Albert Holguin 19-Oct-15 15:01pm    
Happy Monday :)

1 solution

If you see the git protocol documentation[^], both would be valid ssh URLs. The first assumes your username is whatever you're logged in to the local machine as, the second uses "gitolite" as your username.

In either case, if the repository is private or you don't have ssh access, you won't be able to access anything anyway.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900