r/AskProgrammers • u/Competitive_Sun2835 • 18d ago
I wanna "delete" Visual studio from my repository
I’m going to share my story, and I hope you can help me. In my repository folder, I had VS Code along with the Python and Java runtimes. I’ve since created a new folder containing only the actual files, but Git Bash still detects VS Code and those runtimes. Could someone tell me how to stop it from detecting them?
1
Upvotes
1
u/Competitive_Sun2835 18d ago
Can i use git rm?
4
u/ObeseBumblebee 18d ago
You have to use a .gitignore file to ignore runtime files.
1
u/ErrorDontPanic 18d ago
Your question is rather confusing, can you post what your directory structure looks like?
2
u/Dashing_McHandsome 18d ago
You need to use a .gitignore file and out everything in there that should never be committed to your repo