在使用sourcetree推送一直不成功,结果如下,想问下什么原因:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v origin master:master
fatal: unable to access 'https://gitee.com/TYDIPAD/zhaohua220903.git/': URL using bad/illegal format or missing URL
Pushing to https://gitee.com/TYDIPAD/zhaohua220903.git
完成时带有错误,见上文。
从描述情况来看,是初学者。可以采用两种方式
1、去当前项目根目录打开git输入git config --global http.sslVerify false 即可
2、更换推送链接为ssh方式推送。
3、配置ssh密钥,可以百度 (gitee)配置ssh密钥