Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've started using codebase to manage my GIT repositories. I also have GIT installed on my Debain box. There is an option on codebase to "Push to External Repository" which I'd like to do. This requires a URL, but all I have is the path on my server: git@12.34.56.78:/srv/git/project.git

Should I be setting a path up in my virtual hosts? Or is there another way to do it?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

You have all you need xylar, except a ssh key probably.

All you have to do now is set up a ssh key on the debian machine, and copy the key into your codebase.

With the ssh key codebase can access your server without a password. In codebase the remote repository is git@debianIP:/path/to/repo/project.git

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.