Go through the ‘Workspace Setup’ stage again. The ‘clean’ target will remove what you currently have a give us a fresh workspace.
Then run the following command in the terminal:
git init
Open the ‘Source Control’ view in the IDE which will display each components and all of the files avalible for staging. In this example we will use the hello_world application component as an example. Lets say we dont want to commit the ‘launch.json’ file and the ‘psinit’ folder.
Select the ‘.gitignore’ file from the ‘hello_world’ component and it will be displayed like so.
Edit the file so that it includes the ‘launch.json’ file and the ‘psinit’ folder.
You will notice that once we edit this file we can see that the source control view has been updated and both the ‘launch.json’ file and ‘psinit’ folder have been removed from the hello_world component.