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

Fix clone stability #55

Merged
merged 12 commits into from
Feb 11, 2025
Merged

Fix clone stability #55

merged 12 commits into from
Feb 11, 2025

Conversation

ronald-jaepel
Copy link
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
6 checks passed
@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