- Contributor Guidelines for Markdown-Previewer
- Assigning an Issue
- Contribution Process
- Star ⭐ the repository
- Fork the repository
- Cloning this repository
- Creating a New Branch
- Navigate to the project directory
- Add a reference(remote) to the original repository
- Check the remotes for this repository
- Always take a pull from the upstream repository to your master branch
- Create a new branch
- Track your changes
- Commit your changes
- Merge changes from master into your branch
- Push the committed changes in your feature branch to your remote repo
- Creating a Pull Request (PR)
- Code Review
- Merging
- Congratulations! 🎊
Thank you for your interest in contributing to Markdown-Previewer as part of Hacktoberfest! We greatly appreciate your contributions and want to ensure a smooth and efficient collaboration process. To maintain a structured workflow, please follow the guidelines outlined below.
- Before you start working on any feature or bug fix 🐞, check the Issues section to find a task or issue that interests you.
- If you find an issue you'd like to work on, please comment on the issue for assigning process. This will help avoid duplication of effort and let others know that you are actively working on it. Please do not raise PR or start working on the issue before assigned to you.
- First of all start this repository.
- Then fork the repository.
- If you haven't already, fork the Markdown-Previewer repository to your GitHub account.
- Clone your forked repository to your local development environment:
git clone https://github.com/your-username/Markdown-Previewer.git
- It's a good practice to create a new branch for each feature or bug fix you're working on. Use a descriptive name for your branch:
git checkout -b feature/your-feature-name
cd Markdown-Previewer
git remote add upstream https://github.com/hirentimbadiya/Markdown-Previewer.git
git remote -v
8. Always take a pull from the upstream repository to your master branch to keep it at par with the main project (updated repository)..
git pull upstream master
git checkout -b username/issue_number
git add .
git commit -m "<commit subject>"
12. While you are working on your branch, other developers may update the master branch with their branch. This action means your branch is now out of date with the master branch and missing content. So to fetch the new changes, follow along:
git checkout master
git fetch origin master
git merge upstream/master
git push origin
Now you need to merge the master branch into your branch. This can be done in the following way:
git checkout <your_branch_name>
git merge master
git push -u origin <your_branch_name>
- Go to your forked repository on GitHub, and you should see a button to create a Pull Request. Click on it.
- Ensure your PR title and description are informative, describing the changes you made and referencing the issue if applicable.
- Submit the PR.
- Our maintainers and other contributors will review your PR. Be prepared to make changes or address feedback as necessary.
- Once your PR is approved and passes any required checks, it will be merged into the main repository.
- You've successfully contributed to Markdown-Previewer. Thank you for your valuable contribution.