You should make 2 different files one actual database.php
and one database.php.example
or something like that and then add database.php to .gitignore
More Related Contents:
- Is there a way to cache https credentials for pushing commits?
- Download a single folder or directory from a GitHub repo
- Git keeps prompting me for a password
- Is it possible to create a remote repo on GitHub from the CLI without opening browser?
- Git push results in “Authentication Failed”
- Unable to change Git account
- ‘git diff’ doesn’t show enough
- GitHub: How to make a fork of public repository private?
- ! [rejected] master -> master (fetch first)
- Trying To Understand/Determine A Basic Git Workflow
- Github file size limit changed 6/18/13. Can’t push now
- Trying to understand `git diff` and `git mv` rename detection mechanism
- How to merge remote changes at GitHub?
- Git push doesnt do anything over HTTPS
- Heroku: How to push different local Git branches to Heroku/master
- How do I rename a repository on GitHub?
- Send a pull request on GitHub for only latest commit
- How do you fork your own repository on GitHub?
- Which is the smarter git protocol, ssh or git(over ssh) or https protocol?
- How to clone all repos at once from GitHub?
- How to get default Git branch?
- Unable to Connect to GitHub.com For Cloning
- Error when push commits with Github: fatal: could not read Username
- Deleting remote master branch, refused due to being the current branch
- How to delete the last n commits on Github and locally?
- How to clone git repository from its zip
- git push error: src refspec main does not match any on linux
- How to install/setup TortoiseGit to work with GitHub
- How can I reduce the ever-increasing time to push a subtree?
- GitHub Api download zip or tarball link