Actually, I donβt think you even need to update the project. That is, if you have "eGit" installed, and your projects are already set up as git projects (they should be, because in most cases, egit does this automatically).
Whenever you run git commands on the shell (outside of eclipse), egit will automatically update the projects for you and update their status when you return to Eclipse.
If you do not use egit, then yes, you must update the projects manually, but thatβs all you would need to do, since running the git check-my-branch 'command in the shell has already changed the files on the disk should be those from "my- branch ".
source share