Welcome to today’spost.
The blog post today is to discuss a workaround for the error / warning that occurs after you commit / sync a branch, then attempt to switch to the master branch. You then get the following error:
“git an operation is still in progress. please wait and try again”
In VS 2017 Team Explorer the error shows up like this:
I will show two workarounds to this issue:
Attempted Workaround 1
Open Git bash.
Run git checkout <branch>
Go back to VS 2017 IDE.
If the build option is not showing, then try the following workaround:
Attempted Workaround 2
Close the Solution.
Close Git Bash.
Close VS 2017.
Open VS 2017.
Open Team Explorer.
Select the master branch.
The notification shows below in the IDE.
Confirm the build option is showing in the project in solution explorer.
Thanks for tuning in.
I hope this short post has been helpful.