2021年1月23日星期六

How do I not commit my config.php file(completely ignore it, neither download or upload it) to Github when using VSCode?

I have a config.php file on Github, I however have a different config.php file on my PC, how can I make Github completely ignore the file and make it both not download and upload it when I make a new commit?

I am using VSCode.

It is really annoying when it uploads the password of the config.php file to my private repo, is there a solution to that or should I just remove the config.php file from the folder when I want to make a new commit?

https://stackoverflow.com/questions/65867266/how-do-i-not-commit-my-config-php-filecompletely-ignore-it-neither-download-or January 24, 2021 at 12:56PM

没有评论:

发表评论