git clone https://github.com/<YOUR_GIT_USERNAME_HERE>/javascript-forum.git
-
git checkout -b [branch name]
When naming your branches, use the following format:
When adding a feature: feature/my-feature
When fixing a bug: fix/my-fix
git add -u
git commit -m "feat: your change"
When making commits, please use conventional commits.
e.g.
for feature additions: feat: add feature
for bug fixes: fix: fix specific bug
for changes regarding things like code cleanup, adding/removing comments, etc: chore: cleanup
Please keep your commits small and commit each change individually. Keep in mind that people use blame annotations in IDEs which show the commit message besides the line of code. Please consider that your message makes sense when viewn in blame annotations.
git push origin [branch name]
Please read these additional contribution guidelines for maintaines
-
As soon as we have a rough baseline we should avoid commiting to master directly. We will have a release/version branch which receives all PRs up to the next version increase. The versioning will be guided by our Trello Board's Backlog
Note: please send a PM to request accessFeature branches should contain the Trello cards ID in their title so we can correlate branches to cards. Feature branches should contain all code that is required for a given feature. After successful code review the feature branch will be merged to the release branch
The release branch gathers all work until the next version release. All features will be merged into release and when we increment the version it will be merged into master and tagged
The master branch should always point to the latest tagged version of the forum. It should never contain wip code. This is the branch you base off new feature branches.
-
Please take a look at our coding conventions and make sure that code which doesn't adhere to the guidelines will be refactored before being merged into the release branch.