Add note that git clone --depth 1 creates a shallow clone with limitations
The section recommends using git clone --depth 1 for large repositories but doesn't explain the limitations of shallow clones.
Location https://docs.gitlab.com/ee/topics/git/troubleshooting_git.html
Current Text "To decrease the cloning depth to 1, run: git clone --depth 1 "
Suggested Fix Add a note: "Note: This creates a 'shallow clone' with only the most recent commit. You won't have access to the full history, and some operations (like pushing to a different remote) may be limited. You can convert it to a full clone later if needed."
Why This Helps Users understand the trade-offs before using shallow clones.
quick win documentation Documentation typedocumentation
Edited by 🤖 GitLab Bot 🤖