✅ how to add certain folders to .gitignore
Hey all i'm trying to add my .vscode, bin, and obj file to my .gitignore, but for somereason they will not go away even when i have
in the .gitignore file, any help would be appreciated
oh heres the repo
https://github.com/Mathall003/WordleGame/blob/main/.gitignore
GitHub
WordleGame/.gitignore at main · Mathall003/WordleGame
Contribute to Mathall003/WordleGame development by creating an account on GitHub.
11 Replies
did you already commit them before adding them to your gitignore?
yes i think so
gitignore doesn't apply to already tracked files, so you need to delete them from the repo
oh, how would I go about that, can i do that from github or do i have to go into the source control sidebar
just delete them like you would any other file
back up anything you actually want to keep in a different folder and put it back after committing the deletions
so straght from the IDE?
sorry
or your file explorer
ok i see, thanks
ok, thanks I appreciate it
:pepeOK:
$close
If you have no further questions, please use /close to mark the forum thread as answered
ok got it all setup thanks