I am having some trouble with Tortoise Git and GitHub not fetching the latest commit whenever I click "fetch." Whatever it does fetch
Tortoise Git places inside of a folder titled as the remote repo inside of my workspace on Eclipse. If I try a merge
, it fails. To solve this, I had the idea of replacing my Eclipse src folder with the src folder from the fetch
. I did not, however, check to make sure that the files fetched were from the most recent commit. This resulted in me deleting all of my most recent changes and setting me back a day.
I found this question to be somewhat helpful (git fetch not fetching latest commits), but I do not understand the procedures that Tortoise Git and GitHub use to fetch
from the remote repository.
What can I do to avoid this issue in the future and how does a git fetch
and merge
truly work?
Thanks much for the help.