You should do a git add .. Then do a git status. Then do git reset because . meant that all the stuff you didn’t want to commit also is now in the staging area, then do a manual git add <dst_path> for your paths. Then do a git add . by accident, and repeat.
I got a bunch of rules in the exclude file for my own personal trash files in the repo. I’m not a happy man unless I can do
git commit -amfreely.git commit -amis for weirdos.You should do a
git add .. Then do agit status. Then dogit resetbecause.meant that all the stuff you didn’t want to commit also is now in the staging area, then do a manualgit add <dst_path>for your paths. Then do agit add .by accident, and repeat.Not weird. Whenever I use the
-aflag on accident I just dogit reset HEAD~1, and then dogit commit -amon accident again.