I want to clarify one aspect regarding local commits and subsequent git pull request.
Let's say I have file file1.txt in my repo. I then make some changes to it and run 'git commit' on this file. Then, I 'git pull' from server where this file (file1.txt) has also been changed by some developer. How git is going to track my changes on file1.txt inside my local commit and changes inside the same file from remote server?
Is it going to keep file unchanged inside already created local commit?
git add file1.txt
git commit -m "Included file1.txt inside local commit"
git pull