![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
zhe_csdn
不断犯错不断改错不断进步的过程
展开
-
Git恢复之前版本的两种方法reset、revert(图文详解转载)
https://blog.csdn.net/yxlshk/article/details/79944535转载 2020-07-16 14:51:48 · 288 阅读 · 0 评论 -
将本地项目上传到git上最简单的办法
原创博客地址https://www.cnblogs.com/cxk1995/p/5800196.html转载 2019-04-01 08:57:18 · 132 阅读 · 0 评论 -
ubuntu16.04上传本地文件到github
1 创建SSH Keyssh-keygen -t rsa -C “zhex”zhex取得名字,-C的字母为大写。此后一直回车。在主目录下就会生成/home/zhex/.ssh文件夹,里面也会生成文件id_rsa与id_rsa.pub,它们是SSH Key的秘钥对。其中id_rsa是私钥,不能泄露,id_rsa.pub是公钥。2 登录自己的GitHub,点击右上角头像,Settings -&...原创 2019-04-08 20:41:03 · 596 阅读 · 0 评论 -
ubuntu16.04 上传本地代码到github
1 SSH key 生成ssh-keygen -t rsa -C "your_email@example.com"2 添加生成的公钥Key 到github中github中 选择Your settings ->SSH Keys 粘贴复制即可3 创建responsitygit clone 到本地 自动会生成新的文件夹4 进入文件夹后 将自己创建好的工程文件复制进来执行:git ...原创 2019-04-18 18:42:32 · 380 阅读 · 1 评论 -
ubuntu16.04 github 配置代理服务
git配置代理命令// 查看当前代理设置git config --global http.proxy// 设置当前代理为 http://127.0.0.1:1080 或 socket5://127.0.0.1:1080git config --global http.proxy ‘http://127.0.0.1:1080’git config --global https.proxy ...原创 2019-08-20 11:47:29 · 1897 阅读 · 0 评论 -
git常用命令
https://www.cnblogs.com/chenwolong/p/GIT.htmlhttp://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html原文博客地址Workspace:工作区Index / Stage:暂存区Repository:仓库区(或本地仓库)Remote:远程仓库...原创 2019-09-12 10:45:34 · 80 阅读 · 0 评论