Whenever Git
finds a new file inside the application folder, it is considered an Untracked File by Git
, because Git
doesn't know the file until we explicitly tell it about that file.
In this post, we will understand how can we delete untracked files present in the git repository. To understand what are Untracked Files? Refer to this - What are Untracked Files in Git?
Below, I have mentioned both root-cause & solution of the above error.
Normally, you get this error message when you are performing GIT operations from two different places. Like I got this issue while I was using Git Bash (Command Line) & Visual Studio together to perform Git operations.
If you are a beginner to Git then you have come to the right place.
Deleted remote branches are still visible in Visual Studio Team Explorer (Branches Section).