Skip to content

Use shallow=true and canonical .git URLs in .gitmodules - #422

Open
MichaelChirico wants to merge 1 commit into
StochasticTree:mainfrom
MichaelChirico:patch-4
Open

Use shallow=true and canonical .git URLs in .gitmodules#422
MichaelChirico wants to merge 1 commit into
StochasticTree:mainfrom
MichaelChirico:patch-4

Conversation

@MichaelChirico

Copy link
Copy Markdown
Contributor

It's about 2x more common on GitHub (.git vs not), to use the .git approach, and Gemini describes some advantages (HTTP redirects, full robustness, ...)

https://man7.org/linux/man-pages/man5/gitmodules.5.html

shallow=true should also be preferable to avoid requiring a full checkout of the repos' histories unless there's a strong need for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant