首页 > 其他 > 详细

GitHub的使用

时间:2019-11-23 16:23:16      阅读:68      评论:0      收藏:0      [点我收藏+]

1.sign up注册
2.填写用户账号,email地址和密码点击create account
3.创建公开仓库点击continue
4.点击submit跳转

1.git官网下载,安装git
2.gitHub上创建账号
3.登录gitHub
4.创建一个项目
5.github网站 + new repository
6.在自己的文件下
(1)git bash here(打开cmd)
(2)git init
(3) git add .
(4) git commit -m ‘提交的描述‘
第一次 git config --global user.email ‘邮箱名‘ git config --global user.name ‘用户名‘
(5) tell me who you are 使用 git config --global user email user.name
(6) git commit -m ‘提交的描述‘
(7) git remote add origin ......
(8) git push -u origin master
下载
(1) git clone  复制一个链接下载

后期上传代码
(1) git add .
(2) git commit -m ‘提交的描述‘
(3)git pull
(4)git push

GitHub的使用

原文:https://www.cnblogs.com/yg123-lb/p/11903488.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!