That's most probably when you forgot to add a gitignore file or just forgot to ignore you dist.js file. Copycast should warn user, and even maybe interactively ask if he wants the file to be ignored (just for the session or added to .gitignore?).
Step 1: warn user
Step 2: automatically ignore file (if confirmation from user) in memory or in gitignore file (whatever we choose)
That's most probably when you forgot to add a gitignore file or just forgot to ignore you
dist.js
file. Copycast should warn user, and even maybe interactively ask if he wants the file to be ignored (just for the session or added to .gitignore?).