I'm trying to add a new remote repository but it doesn't seem to work.
Here is my situation:
I'm connected from home and want to access to the remote git repository through a VPN. The git server is hosted on a windows server. I have access to my compagny network (remotely through a VPN) and I'm able to browse the git server's folders from home with my Mac.
I have an empty folder where I would like to pull the source code from the remote repository.
So in SourceTree, I click Repository in the menu bar and repository settings. Add my new repository, which is 192.168.0.125/pmsrepos/git. Then in the left sidebar, I do a right click on my remote repository I just added and choose Pull. A new window appears and ask me to choose a remote branch to pull. The problem is the list is empty because i think it cannot access to the remote repository.
Can you tell me if it's the correct way to get the sourcecode from a remote repository? and why I cannot connect to my remote repository?
Thanks a lot for your help
Because the git server hasn't the http protocol available, so I couldn't access via http://192.168.0.125. What I did is :
- Create a mouted point (volume) with the command smb://192.168.0.125/repos/git
- Clone via this volume (git clone /Volume/repos/git)
After that everything is allright ;)
not sure if i understand your description correctly.
i am wondering where that IP 192.168.0.125 is coming from. i hope it is not the "remote" IP cause it is definitly a private net thats inside your home LAN.
that would explain why there is no content until you set up a local repository with content. that has nothing to do with your remote repository you're aiming at
The Ip 192.168.0.125 is the remote ip address, where the git repository is hosted. Moreover I setted up a local repository (empty for now) and I would like to pull the source code fron the remote git repository. About the VPN connection, yes I am able to access to the host via the Finder but not via SourceTree.
I am not quite sure what to enter as URL, I try 192.168.0.125/pmsrepos/git or git://192.168.0.125/pmsrepos/git but it doesn't work.
What I would like to do it just to retreive in a folder on my mac the source code from the git repository through a VPN. The VPN works perfectly, just the connection to the git server is an issue.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG