See full the full Contributing guidelines for a more exhaustive process.
If you don't have a pull-request in review, so that you are using the freshest code, pull the latest from upstream:
git pull upstream master
If you're prompted to do a merge commit (you probably will be), hit :wq
to close the merge comment, and then do a hard reset so that your local matches what is upstream:
git reset --hard upstream/master
Continue to push your commits up to your origin — they will automatically get added to your open pull-request.
Be sure to follow step #1 — pull fresh from upstream and do a hard reset (shortcut: git pull upstream master && git reset --hard upstream/master
) — this ensures that your next pull-request will only include new commits.
If you don't pull from upstream after your PR gets merged; you will get errors because the commit hashes change one they are merged into upstream.
This is only for those with admin permissions.
If you have write
permissions to the repo, once you ensure the site works using Netlify's deploy previews, you can push to production.
git pull upstream master && git reset --hard upstream/master
master
branch to production
: git branch -m production
production
branch to upstream: git push upstream production --force
That's it! In 2-4 minutes, the site will be built, deployed, and all updates will be reflected live on liferay.design.