mac环境下交付django代码到github网站

mac环境下提交django代码到github网站第一次在mac环境下,将上周末学习的django例子提交到github具体步骤如

mac环境下提交django代码到github网站
第一次在mac环境下,将上周末学习的django例子提交到github
具体步骤如下:
  a. 首先登陆github  
  b. 创建新的reponsitory
     name, description
  c. 打开terminal,
     cd django_test
  d. vim README.md
     编写项目简介
  e. git init 初始化
     git add * 添加当前所有文件到reponsitory
     git commit -m 'first init' //提交并且注释
     git remote add origin https://github.com/chenxu111/django_blog.git
     git push -u origin master, 将代码推送到github;

提交完成,登陆网站查看效果
https://github.com/chenxu111/django_blog.git

提交完成,后续继续学习如何在mac下面进行git的常用操作。