I am using a shell script to automate the deployment of my website. I now want to push the code of this site onto GitHub, and now I am facing the problem that my login details will be publicly accessible if I push the deploy script too. Is there any way of changing or leaving out the file when I push to GitHub? I would still like to keep it under version control.
Have you considered keeping login information in a separate non versioned file?