| by Scott Kilroy | No comments

Working with a remote git repo

Create a directory (in this example we'll use gitdir)
cd into gitdir
run
git init
this will create a empty git repo
now run
git remote add origin PATH_TO_REMOTE_GIT_SERVER
ie git remote add origin file:///srv/git

git clone ssh://user@server/project.git

Share Button