Skip to content

Fix clone stability#55

Merged
ronald-jaepel merged 12 commits intomasterfrom
fix/clone_stability
Feb 11, 2025
Merged

Fix clone stability#55
ronald-jaepel merged 12 commits intomasterfrom
fix/clone_stability

Conversation

@ronald-jaepel
Copy link
Copy Markdown
Contributor

@ronald-jaepel ronald-jaepel commented Feb 11, 2025

This PR improves the stability of cloning projects, especially in headless situations such as during CI or in containerized applications.

These include setting the environment variables "GIT_TERMINAL_PROMPT": "0", and "GIT_SSH_COMMAND": "ssh -o StrictHostKeyChecking=yes", to ensure that ssh checkouts are refused if the host is not know without an additional prompt.

Also setting the environment variable "GIT_CLONE_PROTECTION_ACTIVE": "0", to fix git-lfs/git-lfs#5749 for systems with outdated git installations.

@ronald-jaepel ronald-jaepel merged commit 3e073dd into master Feb 11, 2025
@ronald-jaepel ronald-jaepel deleted the fix/clone_stability branch February 11, 2025 14:57
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.

Recent Git security releases break git clone on repositories using LFS

1 participant