![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
文章平均质量分 58
孙嵓
crud永不为奴!!!
展开
-
搭建本地git服务
大家好,我是孙嵓,实不相瞒今天是一篇水文,搭建本地git.背景我司大部分都是采用内网开发,外网没有代码管理的git仓库,但是又为了代码的安全性,于是就有了今天这篇搭建本地git服务器。环境在windows10搭建的Bonobo Git Server(开源、免费、易安装操作)这是官网https://bonobogitserver.com/直接down安装1.解压将文件解压存放至指定目录,例如D:\gitrepository2.IIS在 Win10上打开IIS功能。有同学问了这是什么玩原创 2022-03-21 16:22:08 · 5373 阅读 · 4 评论 -
Git配置相关
创建ssh key$ ssh-keygen -t rsa -C “youremail@example.com”生成这两文件,将密钥注册到gitlab上即可配置用户名及邮箱git config --global user.name “username”git config --global user.email “email”就可以pull和push了...原创 2021-04-20 16:18:16 · 57 阅读 · 0 评论 -
常用git操作
桌面右键git bash here全局配置用户名和邮箱地址git config --global user.name "用户名"git config --global user.email "邮箱地址"也可通过修改已拉仓库的.git目录下的config文件添加:[user] name = sunrenqiang email = sunrenqiang@agree.com.cn或者通过eclipse工具中进行操作[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上原创 2021-01-19 16:14:55 · 160 阅读 · 0 评论