1、重定向到新的地址
进入到项目根目录查看源配置
git config -l
有一项是 remote.origin.url
看清楚源地址,然后修改成新的地址
git config remote.origin.url http://192.168.1.250:8080/root/xxx.git
2、Linux下git pull的时候保存密码
进入根目录
cd ~/
执行
git config --global credential.helper store
02-17
2032
01-25
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交