I have an apache server running and working with a username and password. I want to create a subversion project – how do I connect to the apache server in Terminal (if I have to) and create the project structure etc before configuring in Xcode?
Share
You can connect to your server using SSH. The command would be:
If your server has a non-standard SSH port of 22, then you’ll need to add the port number:
From the examples above, simply substitute 192.168.1.100 with your server’s IP address. Substitute “1234” with the SSH Port you’re trying to connect to.
Finally, to create a new subversion repository, use the following:
At this point, I would create the directory structure:
Of’course, you don’t have to follow the directory structure above. It’s just an example. But after you have your directory structure, you’ll want to import it to the repository:
Once the directory structure has been imported, you should check out a copy of the repository to your local computer/desktop, and start coding.