get.md

May 7, 2016 · View on GitHub

Get projects from the repository (獲取項目) Back

1. Create a new project

  • Initialize a project
git init
  • Add file into the project
git add *
git add README

2. Clone a existed project

  • Clone a project
git clone [url]

3. set remote and add it to Github

git remote add origin [remote github url]
# set the new remote

git remote -v
# verifies the new remote URL

Contents

  1. 1Get projects from the repository (獲取項目) Back
  2. 1.11. Create a new project
  3. 1.22. Clone a existed project
  4. 1.33. set remote and add it to Github