Using Git Example

From Genome Analysis Wiki
Revision as of 19:32, 7 July 2011 by Mktrost (talk | contribs) (Created page with '== Create a New Repository == These steps will create a new bare repository called gitPlayGroundSource in ~/code/. # Go to the correct directory #: <pre>cd ~/code</pre> # Create…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Create a New Repository

These steps will create a new bare repository called gitPlayGroundSource in ~/code/.

  1. Go to the correct directory
    cd ~/code
  2. Create a new bare repository
    git init --bare --shared gitPlayGroundSource
  3. Move into the new Repository
     cd gitPlayGroundSource
  4. Look at the contents
     ls
  5. Update the repository description using your favorite text editor to say:
     Example Repository for learning to use git.

CreateNewGitRepository.png