`git ignore`. Simple as that.