mehranshakarami / AI_Spectrum

155 stars 104 forks source link

HOW TO HIDE CREDS ON GITHUB #3

Open shreshhhth opened 2 years ago

shreshhhth commented 2 years ago

Sir my API keys are showing on github when i made my repository. I want to know how to hide my config.ini file from showing API keys and all my creds

0wlyW00d commented 1 year ago

Sir my API keys are showing on github when i made my repository. I want to know how to hide my config.ini file from showing API keys and all my creds

create a .gitignore file in your repository, and add the line *.ini to tell GitHub to don't push file ending with the .ini extension