HowToCreateGitRepo

From seed
Jump to: navigation, search

Create Git Repo on Seed

First, you need to have a user account on Seed (which is separate from an account on this wiki)

On Seed, under your home directory,

$ git init --bare MyProject.git 

Note that when you create a repository with the --bare option, 1. there is no working directory created; 2. there is no .git directory created. Instead, the files normally in the .git directory are placed in the top-level directory where he working directory would normally be.

On your client,

$ git clone ssh://<username>@seed.ucsd.edu:/home/<username>/MyProject.git

reference