I used to use Visual SourceSafe (...yeah I know...) and relatively new to Git. I have to admit I have a hard time wrapping my head around it and many things are not clear. I checked out the "Pro Git" book and watched videos on Youtube, but it's still confusing in many parts and things throw me off because I'm still thinking in the VS way. I understand (hopefully) that VS stores information per file and Git per project.
So let's say I have two files, A and B in the same project. For this example, fileA contains, say, information about the management, and fileB contains information about products.
Someone requests to add the new management people to file A. And another person request to add new products to file B.
If I want to do a commit, I can only write a single description for the commit. But these two updates are totally unrelated, so I don't want to write a single description for both files. I want to do two separate descriptions. FileA: Added Joe Sixpack to management. FileB: Added super hair removal product using yellow bottle image.
I assume in this case I have to do two separate commits? If so, what happens if I have to update 10 files (unrelated) but at the same time. Do I have to commit them separately so I can have separate descriptions?
Also, what happens if I commit fileA: Added Joe Sixpack to management. Then I commit fileB (with it's own description) BUT I specify to ammend to previous commit. In this case what happens to the description? Will both file (A & B) have the same descriptions? Eg, the two descriptions will be merged together? Or what is the scenario?
I realize it's a Git question and not PS, but since PS can use Git maybe someone would know the secret souce?