hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.39k stars 2.19k forks source link

ignore vscode files #19474

Closed oltolm closed 1 month ago

oltolm commented 2 months ago

I use VSCode. If I change the settings git shows changes in the working directory. I removed the VSCode settings and added them to .gitignore.

hrydgard commented 2 months ago

But, the launch file and tasks files are useful.

How about keeping these two files, but also keep your newly added ignore so that all other settings files remain ignored?

oltolm commented 2 months ago

I actually change the settings in launch.json so it wouldn't work.

bbb651 commented 2 months ago

If you just want to ignore them locally you can add them to .git/info/exclude, or gitignore them and .gitignore

hrydgard commented 1 month ago

Alright, I guess we can get rid of these and have example launch and task files somewhere instead.

@bbb651 's workaround works too I guess, but less easy to figure out.

oltolm commented 1 month ago

Thanks, ignoring files locally does not work if they are checked in. I already tried it.