.vscode | ||
Biometric.md | ||
CallCenter.md | ||
complaints.md | ||
Controlroom.md | ||
CRVS.md | ||
dhis2.md | ||
eappointment.md | ||
HealthCarefinancing.md | ||
HID.md | ||
HRIS.md | ||
MIS.md | ||
openmrs.md | ||
opensrp.md | ||
PrivacyPolicySHR.md | ||
PrivateHospitalRegistration.md | ||
README.md | ||
SHR.md | ||
Telemedicine.md | ||
userGuide.md | ||
vaxEPI.md |
Contributor Guidelines: Creating Pull Requests for Updating Documents
Welcome, collaborators! This guide outlines the steps for creating a pull request (PR) to update documents in the chatbot-knowledge repository. Please follow these instructions carefully to ensure a smooth contribution process.
Step 1: Fork the Repository
- Navigate to the repository at chatbot-knowledge.
- Click the Fork button in the top-right corner to create your own copy of the repository.
Step 2: Clone the Repository
- Copy the URL of your forked repository.
- Run the following command in your terminal to clone it to your local machine:
git clone <your-fork-url>
- Navigate to the project directory:
cd chatbot-knowledge
Step 3: Create a New Branch
- Always create a new branch for your updates to keep the
main
branch clean:
Replacegit checkout -b update-documents
update-documents
with a branch name relevant to your changes.
Step 4: Make Your Changes
- Open the repository in your preferred code editor.
- Update the document files with your changes.
- Save the files.
- You may use online platform to convert Microsoft Word document (if you have done your editing in MS Word) to a markup README file. To do this visit https://word2md.com.
Step 5: Commit Your Changes
- Stage your changes:
git add .
- Commit your changes with a clear and concise message:
Replacegit commit -m "Update SHR documentation with new API integration details"
Update SHR documentation with new API integration details
with your commit name.
Step 6: Push Your Changes
- Push your changes to your forked repository:
Replacegit push origin <branch-name>
<branch-name>
with the name of your branch.
Step 7: Create a Pull Request
- Go to your forked repository on https://git.dghs.gov.bd/riaz.somc/chatbot-knowledge.git.
- Click on the Compare & pull request button.
- Ensure the base repository is set to the original repository (
https://git.dghs.gov.bd/riaz.somc/chatbot-knowledge.git
) and the base branch is main. - Add a descriptive title for your pull request, e.g.,
Update: Added API details in SHR documentation
. - Write a detailed description of the changes you made.
- Click Create pull request.
Step 8: Collaborate on the PR
- Monitor your PR for any comments or feedback from the repository maintainers.
- Make any requested changes by editing the files locally and pushing the updates:
git add . git commit -m "Address feedback on PR" git push origin <branch-name>
Step 9: Merge the Pull Request
- Once the maintainers approve your PR, they will merge it into the main branch.
- Alternatively, if you have merge permissions, click Merge pull request and confirm.
Additional Notes
- Ensure your changes adhere to the repository's contribution guidelines.
- Always pull the latest changes from the main branch before starting a new update:
git pull upstream main
- Use clear, professional language in your commit messages and PR descriptions.
Thank you for contributing to the chatbot-knowledge repository! Your efforts make this project better for everyone. 🎉