-
Don't create a pull request on an issue that doesn't exist, create an issue first and if the changes you are proposing are said to be okay, you can go ahead and create a pull request
-
Don't work on anything unless you are assigned, if you make a pull request without being assigned to that issue, it will be closed without being merged
-
Don't work on more than one issue at a time, this is so that you don't make a huge pull request and others can have opportunities to work on another issue while you work on something else
-
Do read the
readme.md
file -
Add the Issue you worked on in your Pull Request
-
Don't work on the main branch, create your own branch
-
Don't commit the lock files eg package.json
-
Keep your PR as small as possible
- TypeScript
- NodeJs
- Express
- Take a look at the existing Issues or create a new issue!
- Fork the Repo. Then, create a branch for any issue that you are working on. Finally, commit your work.
- Create a Pull Request (PR), which will be promptly reviewed and given suggestions for improvements by the community.
- Add screenshots or screen captures to your Pull Request to help us understand the effects of the changes proposed in your PR.
-
Start by making a Fork of the Borgen repository. Click on the Fork symbol at the top right corner.
-
Clone your new fork of the repository in the terminal/CLI on your computer with the following command:
git clone https://github.com/<your-github-username>/Borgen
- Navigate to the newly created Borgen project directory:
cd Borgen
- Set upstream command:
git remote add upstream https://github.com/<your-github-username>/Borgen.git
- Create a new branch:
git checkout -b YourBranchName
- Sync your fork or your local repository with the origin repository:
- In your forked repository, click on "Fetch upstream"
- Click "Fetch and merge"
git fetch upstream
git merge upstream/main
Github Docs for Syncing
-
Make your changes to the source code.
-
Add and commit the changes:
Add the changes that you have made to the branch using the git add
command:
git add TheFileNameYouChanged
Example:
git add README.md
Now commit those changes using git commit
command:
git commit -m "Your commit message"
- Push your local commits to the remote repository:
git push origin YourBranchName
-
Create a Pull Request!
-
Congratulations! You've made your first contribution to Borgen!
🏆 After this, the maintainers will review the PR and will merge it if it helps move the Borgen project forward. Otherwise,
it will be given constructive feedback and suggestions for the changes needed to add the PR to the codebase.
Your PR
When making your 🚀PRs please do them in small chunks e.g after revamping the navbar make a PR. This ensures
the PRs are manageable and easy to review. Thank for taking interest in this project.
💝 Your contribution is appreciated.
In order to discuss changes, you are welcome to open an issue about what you would like to contribute. Enhancements are always encouraged and appreciated.