Add all files to a commit except a single file?

git add -u
git reset -- main/dontcheckmein.txt

Leave a Comment