Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Z-Groupware
python
Repository navigation
Code
Issues
1
(1)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
develop
Breadcrumbs
python
/
.gitattributes
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
14 lines (13 loc) · 1007 Bytes
develop
Breadcrumbs
python
/
.gitattributes
Copy path
Top
File metadata and controls
Code
Blame
14 lines (13 loc) · 1007 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# ── EC2 에서 실행되는 셸 스크립트는 줄바꿈을 LF 로 못 박는다 ──────────────────
# infra/deploy.sh 는 리눅스(AI EC2)에서 `sudo /opt/z-ai-worker/deploy.sh` 로 돈다.
# 윈도우 개발 환경에서 체크아웃하면 core.autocrlf 가 CRLF 로 바꿔 놓는데, 그 파일을
# 그대로 EC2 에 올리면 **셔뱅이 `#!/usr/bin/env bash\r` 이 되어** 다음처럼 실패한다:
#
# /usr/bin/env: 'bash\r': No such file or directory
#
# 배포 스크립트가 SSM 원격 실행으로 돌기 때문에 이 실패는 CD 로그 안쪽에서만 보이고,
# "스크립트가 왜 안 도는지" 찾는 데 시간이 걸린다. 커밋 시점에 막는 편이 싸다.
*.sh text eol=lf
# compose 파일도 리눅스에서 읽는다. yaml 은 CRLF 로도 파싱되지만, EC2 로 올라가는
# 파일들의 줄바꿈을 한 규칙으로 두는 편이 나중에 diff 를 볼 때 헷갈리지 않는다.
infra/docker-compose.yml text eol=lf
You can’t perform that action at this time.