Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Git] 如何将 Submodule 更新为 https 协议 #59

Open
yangruihan opened this issue Feb 12, 2023 · 0 comments
Open

[Git] 如何将 Submodule 更新为 https 协议 #59

yangruihan opened this issue Feb 12, 2023 · 0 comments
Labels

Comments

@yangruihan
Copy link
Owner

如何将 Submodule 更新为 https 协议

  1. .gitmodules文件中的 url 改为 https,如:
[submodule "vendor/engines/fat_free_crm"]
    path = vendor/engines/fat_free_crm
    url = https://github.com/fatfreecrm/fat_free_crm.git
  1. 执行git submodule sync更新 .git 配置

再初始化 submodule 就ok了

参考链接:https://stackoverflow.com/questions/11410017/git-submodule-update-over-https/30885128#30885128

@yangruihan yangruihan added the git label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant