Skip to content

[Chore] .gitignore에 키 파일·파이썬 캐시·OS 파일 추가 (#32) - #36

Merged
seoyeoki merged 1 commit into
mainfrom
chore/32-gitignore
Oct 9, 2026
Merged

seoyeoki merged 1 commit into
mainfrom
chore/32-gitignore

Conversation

@seoyeoki

@seoyeoki seoyeoki commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

개요

.gitignore에 커밋되면 안 되는 항목이 빠져 있어, 레포 루트의 EC2 접속 키(aws-main-server.pem)가 untracked 상태로 노출되어 있었습니다. git add . 한 번으로 키가 커밋·푸시될 수 있어 사전에 차단합니다.

Closes #32

변경 사항

.gitignore에 아래 항목을 추가했습니다.

분류 패턴
키 파일 *.pem
Python __pycache__/, *.pyc, venv/
macOS .DS_Store
Claude Code .claude/

파일 끝에 개행이 없던 마지막 .env 줄도 함께 정리했습니다.

범위 외

  • 이슈의 마지막 To-Do(로컬 JWT 시크릿과 운영 값 비교)는 코드 변경이 없는 항목이라 이 PR에 포함하지 않았습니다. 운영 시크릿(JWT_SECRET_KEY) 교체는 GitHub Secrets에서 별도로 진행합니다.
  • 이미 커밋 이력에 있는 값은 .gitignore로 제거되지 않습니다.

테스트

  • git check-ignore -v로 aws-main-server.pem, .DS_Store, ai-cpu/__pycache__/, *.pyc, .claude/, venv/가 각각 새 규칙에 매칭되는 것 확인
  • git status에서 위 파일들이 더 이상 표시되지 않는 것 확인
  • 이미 추적 중인 파일 중 새 규칙에 걸리는 것이 없음 (git ls-files -ci --exclude-standard 결과 없음)
  • 위 파일들이 과거 이력에 포함된 적 없음 (git log --all 기준)

🤖 Generated with Claude Code

레포 루트의 EC2 접속 키(*.pem)가 untracked 상태로 노출되어 있어
git add . 한 번으로 커밋·푸시될 수 있는 상태였다.
키 파일, 파이썬 캐시/가상환경, macOS 메타 파일, .claude/ 를 무시 대상에 추가한다.

Closes #32

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@seoyeoki seoyeoki added the enhancement New feature or request label Oct 9, 2026
@seoyeoki seoyeoki self-assigned this Oct 9, 2026
@seoyeoki
seoyeoki merged commit 91e3a2b into main Oct 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CHORE] .gitignore에 키 파일·파이썬 캐시·OS 파일 추가

1 participant