![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GitHub
源自1994
一切都是最好的安排
展开
-
[GitHub]上传本地代码
首先你需要一个github账号,所有还没有的话先去注册吧! https://github.com/ 我们使用git需要先安装git工具,这里给出下载地址,下载后一路直接安装即可: https://git-for-windows.github.io/ 进入Github首页,点击New repository新建一个项目 填写相应信息后点击create即可 Repository name: 仓...转载 2018-11-07 19:36:05 · 103 阅读 · 0 评论 -
[GitHub]常用命令
命令 下载和上传 git clone +addr git add . git commit -m "提交信息" git push -u origin master 更新 git status(查看本地分支文件信息,确保更新时不产生冲突) git checkout – [file name] (若文件有修改,可以还原到最初状态; 若文件需要更新到服务器上,应该先merge到服务器,再更新到本地...原创 2019-06-19 15:27:22 · 122 阅读 · 0 评论