https://github.com/faisalazam/deployhub
A repo enabling multi environment automated provisioning and deployments.
https://github.com/faisalazam/deployhub
Last synced: 3 months ago
JSON representation
A repo enabling multi environment automated provisioning and deployments.
- Host: GitHub
- URL: https://github.com/faisalazam/deployhub
- Owner: faisalazam
- Created: 2024-12-10T15:56:55.000Z (6 months ago)
- Default Branch: stable
- Last Pushed: 2025-02-27T04:31:10.000Z (3 months ago)
- Last Synced: 2025-02-27T05:31:31.889Z (3 months ago)
- Language: PowerShell
- Size: 671 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Placeholder for README.md
For Shell Scripts: Windows-style line endings (CRLF) can cause syntax errors because they are interpreted as extra
characters in Unix-based systems, leading to "command not found" errors.For SSH Keys: SSH keys must be treated as binary files to avoid corruption. Any unintended modification (like adding or
removing \r characters) renders the key invalid, triggering libcrypto errors.e.g. `Load key \"/root/.ssh/id_rsa\": error in libcrypto\r\nroot@linux_implicit_ssh_keys_host`
Adding .sh and keys to .gitattributes ensures that all developers and systems interacting with your repository use the
correct line endings, preventing future issues.Clear the core.autocrlf setting in Git: Git's core.autocrlf setting may still be altering the line endings, especially if it's set to true or input. Set it to false to prevent any automatic conversion:
`git config --global core.autocrlf false`
Explanation:
core.autocrlf=true automatically converts LF to CRLF on checkout (in Windows).
core.autocrlf=input ensures that CRLF is converted to LF on commit but doesn't affect checkouts.
core.autocrlf=false ensures no conversion is done at all (both on commit and checkout).