Repository navigation
[Chore/#170] .env를 git 추적에서 제외 - #171
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
github-actions
Bot
requested review from
jjunh33,
leegain1,
sangrae2325 and
tnals0924
October 27, 2026 10:02
jjunh33
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣연관된 이슈
🎯 해결하려는 문제가 무엇인가요?
로컬 환경변수 파일(
.env)이 git 추적 대상이라,git add .한 번으로 DB 비밀번호·JWT 키 같은 값이 커밋될 수 있습니다.❓ 왜 해결해야 하나요?
비밀값이 저장소 이력에 한 번 들어가면 지워도 남습니다. 저장소에는
.env.example만 두고 실제 값은 각자 로컬에만 둡니다.⭐ 어떻게 해결했나요?
.gitignore에.env,.env.local을 추가했습니다🧩 이 PR의 한계 & 트레이드오프
없습니다.
⛓️ 기존 기능에 미치는 영향
없습니다. 지금 저장소에 커밋된 env 파일은
.env.example뿐이고, 이 파일은 그대로 추적됩니다.🔀 Edge Case & 실패 시나리오
없습니다.
📋 검토한 대안과 선택 이유
없습니다.
💬 리뷰 포인트