How do I setup a git repository?

How do I setup a git repository?
Answer
Start a new git repository
  1. Create a directory to contain the project.
  2. Go into the new directory.
  3. Type git init .
  4. Write some code.
  5. Type git add to add the files (see the typical use page).
  6. Type git commit .
 

Tìm kiếm

Back
Top