I have a local Git repository. I would like to make it available on a remote, ssh-enabled, server. How do I do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you make a bare repository on the remote side,
git init --bare, add the remote side as the push/pull tracker for your local repository (git remote add origin URL), and then locally you just saygit push origin master. Now any other repository canpullfrom the remote repository.