Question

I followed the directions on Mediatemple's site here and came up short, I couldn't get the local git repo to copy up to the server. I have ssh access and can get to the server and create a repo on my mediatemple server and access it through the command line, but when I try to link to it from my computer it won't connect.

I'm trying to use Tower and would like to create a repo on my server and then "Clone Remote Repository" from Tower and then be able to push commits I do locally up to the remote repo, obviously. But I seem to not be building the URL to the remote repo correctly. On the [Mediatemple page]((http://kb.mediatemple.net/questions/1594/Using+Git#gs) they seem to write the URL a few different ways.

example.com@example.com:domains/git.example.com/html/example.git

or

ssh://example.com@example.com/home/00000/domains/git.example.com/html/example.git

I can't get the local apps to find the remote git repos. If my domain is joes.com and I have created a git repo in a folder called project. What is the URL to that repo?

Any help would be hugely appreciated.

Was it helpful?

Solution

Drew was right, he totally helped me out and sent me to the right people at MediaTemple. Thanks!

I had very simple ssh problems, I was learning. The problem was I was trying to login to with the path and everything. What you need to do is ssh into the server then cd to where you want to be. $ ssh user@server.com password: $ cd where/you/want/to/go

then in the Git program you can just add user@example.com:where/you/want/to/go and that will work. THANKS!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top