by @kodeazy

How to create gitignore folder and add files in it using visual studio code?

Home » vscode » How to create gitignore folder and add files in it using visual studio code?

In this blog we will be discussing on how to add gitignore folder inside VSCode.

To uncommit some desired files in github while we work we use gitignore file by adding the name of the files we want to uncommmit inside gitignore file

Follow below steps in VSCode to add gitignorefile.

open VSCode.
Now press Ctrl+Shift+P
search bar will be opening on the top as shown in below image

git ignore

Now try typing gitignore and click on Add to gitignore as shown in above image.
Now open the gitignore folder and add the filenames as shown in below image.

git ignore