Skip to main content

Commit or Ignore

Challenge on lesson: Checkpoint: Repository

Implement should_commit(path) returning true for files a professional C++ repo commits: src/main.cpp, include/app.hpp, CMakeLists.txt, README.md, .gitignore → true; build/CMakeCache.txt, main.o, finance (binary), cmake-build-debug/x → false (generated artifacts).

Difficulty: beginner

Back to lesson: Checkpoint: Repository