How to add .gitignore file in existing project?
Aug 14, 2023
Create .gitignore file
touch .gitignore
Find suitable file from the following link
Run following command
git rm — cached $(git ls-files -i -c -X .gitignore) git rm — cached $(git ls-files -i -c -X .gitignore)