EraCode practice

Daily Git: Quickly ignore a build artifact (without editing .gitignore)

GitintermediateMulti-Part

Summary

Practice Git file I/O hygiene by marking a tracked or untracked build artifact as locally ignored using Git’s index/info exclude mechanism.

Problem preview

### Goal Update a repository’s local-only ignore list. - You’re given the contents of (as a string) and a single ignore pattern to add. - Return the updated contents with the pattern appended **only …

Attempt this challenge

Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.