Why does VS 2022 claim that a file is renamed or deleted, but Git says it is there?

Falanga, Rod, DOH 250 Reputation points
2025-03-24T16:56:58.3033333+00:00

I'm working in a child branch, named Development. The default branch is named master. I've performed a git pull at the command line. Git informs me that I am up to date and nothing more needs to be pulled. I do the same thing within VS 2022, it tells me, "Repository is already up to date. No changes to pull."

So, then I try to open a .yml in .github/workflows. I get this error message:

User's image

Huh? How can the repo not have that file in .github/workflows and yet have that file in .github/workflows? How can it simultaneously be up to date and not up to date? What's going on?

Developer technologies | Visual Studio | Setup
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.