I have cloned repository and there is database.php file where credentials are different and every time I need commit and push, I have to add every file manually except database file, then push. Like:
git add file_name
git add another_file_name
.....
git push origin
Is there a way to ignore database.php file for all the commits I do, except when database.php is again modified for server.