fbpx

Cannot pull because there are uncommitted changes. Commit or undo your changes before pulling again

If you are using Visual Studio 2015’s integration with Visual Studio Team Foundation Server, VSTFS for short. You might have run across this issue when using GIT as your repository. We love using GIT over Microsoft’s TFS repository. I have heard from people within the company that their developers prefer GIT and they are doing away with their own TFS. Something to keep in mind.

This issue comes up after you do a fetch and pull or sync;

“Cannot pull because there are uncommitted changes. Commit or undo your changes before pulling again. See the Output window for details.”

Steps

  • Go to the directory where your project is and right click on the folder
    Git Bash
  • Type ‘git status’
    • this gives you an idea what files are blocking your pull
    • GIT Pull
  • Now uncommit the changes or stash them
  • Type got pull
  • Reload your project and you are back in business
    Reload Project
Click Here to Leave a Comment Below 0 comments