`
nbtlxx
  • 浏览: 249415 次
  • 性别: Icon_minigender_1
  • 来自: 宁波
社区版块
存档分类
最新评论

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的常用操作。
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics