Submitting a Pull Request
Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.
Read more
Forking/Cloning#
- Create a github account if you don't already have one
- Go to https://github.com/blitze/phpBB-ext-sitemaker.git and click on "Fork"
Clone your fork of the repository:
git clone git://github.com/<my_github_name>/phpBB-ext-sitemaker.git phpBB/ext/blitze/sitemakerFrom command line go to sitemaker directory:
cd phpBB/ext/blitze/sitemakerConfigure git:
Add your Username to Git on your system:
git config --global user.name "Your Name Here"Add your E-mail address to Git on your system:
git config --add user.email username@phpbb.comAdd the upstream remote (you can change ‘upstream’ to whatever you like):
git remote add upstream git://github.com/blitze/phpBB-ext-sitemaker.gitInstall vendors
composer installInstall NPM packages
npm installAlternatively you may use yarn:
yarn installPull Requests#
# Create a new branch for your feature & switch to itgit checkout -b feature/my-fancy-new-feature
# create a new branch for the issue you are working on * switch to it (ticket # is from github tracker)git checkout -b ticket/1234Make your changes
# Stage the filesgit add <files>
# Commit staged files - please use a correct commit messagegit commit -m "my commit message"Push the branch back to GitHub git push origin feature/my-fancy-new-feature
Submit a pull-request