Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to ignore a json file?

I keep my api key in a json file. This json file is in the main folder. I don't want to commit this keys file to github. What should I add to the gitignore file?

My project files are as follows..

enter image description here

like image 383
Alperen ARICI Avatar asked Dec 11 '25 17:12

Alperen ARICI


1 Answers

Simply add keys.json into your .gitignore file.

like image 83
sensorario Avatar answered Dec 13 '25 06:12

sensorario



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!