Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do i access a GIT repository through VPN with XCode or Sourcetree (on a mac)
    primarykey
    data
    text
    <p>It should be simple, but i just cant get anything to work.</p> <p>My Mac mini was connected to the office network (Windows server) and the repository is located on a server harddisk. I have a cloned working copy on the mac etc.</p> <p>Now the Mac is sitting somewhere else and is connected to the server via VPN. Because i dont know what exactly it does, let me describe what i was able to pull off. In finder with cmd+k i entered "smb://192.168.xxx.xxx" and the finder did show the server. I can access the data and the repository.</p> <p>I use sourcetree to access the git repository. In the bookmarks of sourcetree i can add it as a new repo and it says "This is a Git repository". Now when i hit "clone" it says "cloning from..." all fine... except, it never ends. Watched this for 10 minutes, no network traffic, no file appears on the harddrive. (waited longer... )</p> <p>When i cancel this, the following line appears "Cloning into /Users/..." and "Completed with errors, see above" but there is no error above.</p> <p>Now i opened the existing clone with sourcetree and attempted to change the repo location but i just dont know what to enter. It now starts with "/SomeFolder/..." and that folder still exists but now its behind the VPN. So what do i enter ? I tried some variations with IP etc but nothing worked and quite frankly im not getting along with my/a mac.</p> <p>I really dont care about sourcetree, if its best to use plain XCode, so be it, but i need something that works.</p> <p><strong>Update 1</strong></p> <p>Im still having trouble. The answers with the SSH require a username, which one ? A former colleague set up this mac for me. I have a VPN Username, a win-domain user and an apple id... which of the 3 is meant in ur SSH lines ?</p> <p>It may sound trivial but, when i enter the git rep folder, do i have to end the line with a slash or not ?</p> <p>In the local network the rep folder just started with "/Data/..." so if i put an IP before that, does the IP need a slash before it as well ? I mean, on windows i would know what to do and the only reason why i ask these silly questions is because none of it seems to work on the mac :/</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload