附加题2 :git 简单练习
$ git add . // 注意: add 后面的点 " . " , 表示 添加当前路径下 所有文件。 $ git commit -m "my first commit"$ git remote add origin https://git.oschina.net/你的用户名/Helloworld.git // 建立远端仓库的别名,只要建一次,后面直接用 origin(也可任意名称)代替
// https://git.oschina.net/你的用户名/Helloworld.git 表示 码云中仓库url
// 可以直接复制过来)
$ git push origin // 将本地commit 推送到远端
页:
[1]