I had moved around some python and C++ files using the file explorer to better organize my files, but when I tried to use Visual Studio Code after making these changes, some things were out of place. All of my files now had the U label (unmarked), and I found on the internet that I could fix this by adding the files to the repository using “git add FILE NAME”. The files are now all marked with the A label (added).
After I did this, however, every new Python file I create and run is now running my ‘secrets.py’ file instead.
I tried to create a file called ‘test_plot.py’ with some simple Python (using the command “python test_plot.py”), but when I ran it through the terminal, it actually ran another file called ‘secrets.py’.
How can I fix this? Did I add the files to the repository incorrectly?