git使用步骤
第一次提交时候用终端敲入以下代码
1. 打开终端, 敲入cd + 项目路径
2. git init
3. git remote -v
4. git add .
5. git commit -m "first commit"
6. git remote add origin https://git.oschina.net/zhouwm/toeflSpeaking.git
7. git push -u origin master
执行后项目中就有一个.git文件了
图为记录远程路径的使用方法
./ 表示根目录路径
../ 表示上一级目录路径。 可以直接省略 Desktop/