Where to put git "remote" repo on purely local git setup?

Posted by Mittenchops on Ask Ubuntu See other posts from Ask Ubuntu or by Mittenchops
Published on 2012-03-24T02:37:57Z Indexed on 2012/03/24 5:39 UTC
Read the original article Hit count: 232

Filed under:
|

I overwrote and lost some important scripts and would like to setup version control to protect my stuff. I've used git before, and am familiar with commands, but don't understand where I would put my "remote" repository on an install set up on my own machine---the place I push/pull to. I don't intend to share or access remotely, I just want a little source control for my files.

I followed the instructions here for setting up my staging area: http://stackoverflow.com/questions/4249974/personal-git-repository

But where do I put git "remote" repo on purely local git setup? How does the workflow work then?

On the command in the above:

git remote add origin ssh://myserver.com:/var/repos/my_repo.git

Where should I put/name something like this? If I have multiple different projects, would they go in different places? I'm running 11.10.

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about git