修改gitlab服务器网段后修改git配置的方法

使用命令

vim .git/config

  修改为目前服务器的ip即可

原文地址:https://www.cnblogs.com/bboy110/p/git.html