Skip to content

Commit 0cd96e9

Browse files
authored
ADD: Contributor guide
1 parent 67a77dd commit 0cd96e9

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

Contribute.md

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Contributor Guide
2+
3+
Welcome to the MEGAlib contributor guide! We're excited to have you interested in contributing to our project. This guide will help you get started, understand our workflow, and know what to expect when contributing.
4+
How to Contribute
5+
6+
We use a fork and pull request workflow for contributions. Here’s a step-by-step guide to help you get started:
7+
8+
## Fork the Repository
9+
Go to our GitHub repository and click the "Fork" button at the top right corner of the page. This will create a copy of the repository under your GitHub account.
10+
11+
## Clone Your Fork
12+
13+
Clone your fork to your local machine using the following command:
14+
15+
```
16+
git clone https://github.com/zoglauer/MEGAlib.git
17+
cd MEGAlib
18+
```
19+
20+
## Create a Branch
21+
Create a new branch for your feature or bug fix. Use a descriptive name for your branch:
22+
23+
```
24+
git checkout -b feature/your-feature-name
25+
```
26+
27+
## Make Your Changes
28+
Make your changes in your local repository. Be sure to follow the same coding standards as in the rest of MEGAlib.
29+
30+
## Commit Your Changes
31+
Commit your changes with a clear and concise commit message:
32+
33+
```
34+
git add .
35+
git commit -m "Add feature: your feature name"
36+
```
37+
38+
## Push to Your Fork
39+
Push your changes to your forked repository on GitHub:
40+
41+
```
42+
git push origin feature/your-feature-name
43+
```
44+
45+
## Open a Pull Request
46+
Go to your forked repository on GitHub and click the "New pull request" button. Select the branch you created and make sure the base repository is set to the original repository. Provide a clear and descriptive title and description for your pull request.
47+
48+
## Respond to Feedback
49+
Your pull request will be reviewed by the project maintainers. Be prepared to make additional changes based on their feedback. Engage in constructive discussions to refine your contribution.
50+
51+
## Merge Your Pull Request
52+
53+
Once your pull request is approved, it will be merged into the main repository. Congratulations on your contribution!
54+
55+
## Final words
56+
57+
If you need help or have questions, feel free to open an issue or discussion on GitHub.
58+
59+

0 commit comments

Comments
 (0)