git
Ocean&Cheung
这个作者很懒,什么都没留下…
展开
-
git回退到某个版本并提交到服务器
1、查看历史分支 git log 2、找到对应的 commit的版本号 3、执行回退版本命令:git reset --hardabe021834592f0f2ced42ac29d10a992f15d8007 4、执行查看当前版本的命令,看是否已经回退成功到需要的版本:git rev-parse HEAD 5、提交到服务器 git push -f ...原创 2019-11-12 09:00:59 · 1120 阅读 · 0 评论 -
GitLab配置之server.httpBindInterface参数为公网Ip启动报错问题
解决办法: 1、windows->cmd->ipconfig,linux->终端->ifconfig 2、将得到的ip配置到server.httpBindInterface后面即可原创 2018-07-27 08:42:16 · 1551 阅读 · 0 评论 -
GitLab配置之server.httpBindInterface参数为公网ip启动报错问题
解决办法如下: 由于服务器本身具有公网映射,因此只需要在default.properties将server.httpBindInterface改成本机的ip,注意,此ip并不是localhost也不是127.0.0.1,windows打开cmd运行ipconfig,linux输入命令ifconfig。 ...原创 2019-03-06 09:17:20 · 1227 阅读 · 0 评论