github使用
github 官网
www.github.com
第一次创建仓库后,按照提示在客户端操作
echo "# django" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/lei8792yong/django.git
git push -u origin master
客户端提交时会要求输入账号,密码
客户端输入账号,密码后,点击确定,会出现上传的信息,如下:
![](https://images2015.cnblogs.com/blog/473245/201706/473245-20170616171538775-552797610.png)
看到这些信息表示已经将本地代码上传到github成功。
贵有恒,何必三更起五更睡;最无益,只怕一日暴十寒