Once the file has been added to the track at the beginning, once it is modified, it must be added again to make it enter the temporary storage area. I think it would be nice to keep the files in the temporary storage area! Then when you are satisfied with the changes, commit. Why does it leave the temporary storage area after modification? This will cause an extra character to be added every time you commit!
When you have modified three files, added a new file, and deleted a file, but they belong to a modification of an original basic function and a new function, and you want people to see your modification record of this function, you You may need to submit this file separately instead of submitting it all at once.
The normal logic is to modify the underlying code first, such as bug fixes, and then submit new functions. Add can select files to be submitted independently in the temporary list