Quantcast
Channel: Should I commit the .vscode folder to source control? - Stack Overflow
Viewing all articles
Browse latest Browse all 11

Answer by Bravo Stack for Should I commit the .vscode folder to source control?

$
0
0

Okay, this may seem pretty late, but if you're finding it difficult to ignore .vscode/ without including any sub-file, you could just ignore the directory:

.vscode/

and then manually track the file you want:

git add -f .vscode/launch.json

The -f adds files even when they're ignored. Once Git sees changes to .vscode/launch.json you'll be prompted to commit them just like any other file.

this actually worked for me, caused i experience the same issue, trying to ignore the .vscode/ path, without including a sub-file settings.json


Viewing all articles
Browse latest Browse all 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>