Once your changes sound good and tests pass on your local computer, you can contribute to the open source project by submitting these changes as a Pull Request on GitHub.
First you need to push your branch on GitHub:
git push origin add-emoticons-support
Now you can create your Pull Request on GitHub. If you don’t know how to do it, you can read GitHub documentation.
If you find this process quite complex, the following articles can help you:
PrestaShop Core is a really active project with more than 30 contributions accepted per week, so your fork will become outdated really fast. To make your own copy up to date with the original project, only a few commands are required:
git remote add ps https://github.com/PrestaShop/PrestaShop.git
git fetch ps
git rebase -i ps/develop
git push -f origin develop
We have added the location of the original project to git so he can retrieve the latest commits, and then we apply this “history”
to our local project. Note, here we have updated the develop
branch of the PrestaShop project and the same commands can be used to refresh every git branch.