Forums

Clone repository stored on pythonanywhere

I created a git repository on my pythonanywhere server a long time ago. I have a new computer now, and would like to clone the repository to this new computer (the old computer was the one that created the repository, so never had this problem). The question, I guess, is how do I clone the repository that is stored in my pythonanywhere server? It lives in ~/bare-repos/, but I'm not sure how to actually access it outside of the server. Is there a public address that I can clone through?

You need to use address like myusername@ssh.pythonanywhere.com:/home/myusername/directory/something.git

Thanks! This is exactly what I needed.

Glad to hear that it works for you!