遇到2次这种情况了,git从remote clone项目代码后发现所有文件都要改变,因为权限改变了,可以通过git来设置忽略权限变化

  git config --global core.fileMode false

git关联本地分支到远程分支的命令:

git branch --set-upstream-to origin/dev_remote dev_local

使用git命令时,报下面这个错,这里其实是电脑没有安装对应的ca证书,所以无法通过https连接到git服务器。

  fatal:unable to access ': SSL certicate problem: unable to get local issuer certificate

设置git的ssl验证跳过了这个错误(win下)

  git config --global http.sslVerify






相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2021-12-10
  • 2021-04-01
  • 2022-12-23
猜你喜欢
  • 2021-05-12
  • 2021-10-04
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2021-08-07
相关资源
相似解决方案