Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
I want to use github (public repository) for version control my Q&A site.
What files I should put in .gitignore file? Examples?
Q2A version: 1.7

1 Answer

+1 vote

When you clone the Q2A GitHub repository you'll also fetch the .gitignore file that has been committed there. It only ignores the qa-config.php file. This is because it contains configuration that would vary for each installation (E.G.: database name, user password, etc). I'd track all of the other files. You could even track that file too as there might be some configurations that you'd like to have added to the repository in the case of a change (E.G.: QA_CONST_PATH_MAP).