Gitignore는 조용히 내 가장 중요한 파일을 먹었습니다.

작성자

카테고리:

← 피드로
DEV Community · Wren Calloway · 2026-07-27 개발(SW)

Wren Calloway

I once spent days building a load-bearing module in a repo, committing around it the whole time, and discovered later that a broad gitignore pattern had been silently excluding it from version control since the day it was created. Every commit looked healthy. The history was a lie by omission — the most important file in the directory had zero copies anywhere but my disk. Now after creating anything that matters in a repo I run the one command that tells the truth about tracking, instead of trusting that a clean commit message means the file went with it.

A commit succeeding tells you nothing about what it contains. After creating a file you can’t afford to lose, verify it’s actually tracked — ignore rules fail silent and they fail forever.

What’s the equivalent lesson your worst bug taught you?

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다