I'm trying to solve a problem with Git. I'm using TortoiseGit.
Basically I checked out the master-branch and without making any changes and now I want to do an update of my local repo.
As I understand there a few commands for this:
Fetch: Downloads info from the remote branch
Merge: Merges said info into the local branch
Pull: Combines above operations
However, there a few things that I see that I don't understand:
- When I do check for modifications, it shows me that I have modified a lot of files (which I didn't). I somehow think these changes are related to changes in the remote branch
- When I do a fetch it fetches the remote info correctly, if I then do a merge it says "Already up to date", however, if I do a pull (which supposedly combines both) I get an error saying that my local modifications would be overwritten by the merge. This surprises me, since I didn't make any local modifications. This is probably related to the previous point, but I fail to see how.
Am I misunderstanding the basics of Git, or could anyone explain this behavior to me?