I want to commit a number of files that have changed. Yet, there is one file, which should be excluded only for this commit. Thus, I looking for something like
git commit -m "Many changes." * -ignore src/later.txt
I want to commit a number of files that have changed. Yet, there is one file, which should be excluded only for this commit. Thus, I looking for something like
git commit -m "Many changes." * -ignore src/later.txt
Just do git add . then git reset the file you don't want
git add .
git reset src/later.txt
git commit -m "Many changes"
git add -u would be better here?-u would pull it off or not.