Create A Git repo
1. Create A Repo From Scratch
- 手动Create你的项目文件夹
the_Repo
- 运行:
1 | cd the_Repo |
2. Clone An Existing Repo
一下命令将会在定位Directory下,新建子Repo
1 | git clone https://github.com/udacity/course-git-blog-project |
Then Don’t forget to cd
to the Repo
如果需要Rename the project
1 | git clone https://github.com/udacity/course-git-blog-project Project_Name |
3. Determine A Repo’s Status
1 | git status |