AminaM Posted August 11, 2022 Share Posted August 11, 2022 Hi everyone. I am trying to use git with prestashop and was wondering if versionning only the modules, themes and override folders is enough? If I make some changes locally in my themes folder and push the modifications on a remote branch, will there be problems with Prestashop's cache? If anyone has used Prestashop with Git and has made it work, I would really appreciate some tips. 1 Link to comment Share on other sites More sharing options...
taniacr Posted August 12, 2022 Share Posted August 12, 2022 Here's an example for .gitignore # This is a template .gitignore file for git-managed Prestashop projects. Inspired by micahwalter wordpress gitignore #Ignore ds_store *.DS_Store # Ignore everything in the root except modules, themes and override. /* !modules/ !themes/ !override/ # Ignore everything in the "plugins" directory, except the plugins you # specify (see the commented-out examples for hints on how to do this.) #modules/* # !modules/my-directory-plugin/ # Ignore everything in the "themes" directory, except the themes you # specify (see the commented-out example for a hint on how to do this.) themes/* !themes/my-theme/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now