-
Fork the Repository:
- Go to the GitHub repository you want to contribute to and click the "Fork" button in the top right corner. This will create your own copy of the repository in your GitHub account.
-
Clone Your Repository:
- Clone your newly created repository to your local machine using the following command in the terminal:
git clone https://github.com/jefferson-lopez-dev/mart-dl.git
- Clone your newly created repository to your local machine using the following command in the terminal:
-
Create a Branch:
- Create a new branch for your contribution. This helps to keep your code separate from the main project code. You can do this with the following command:
git checkout -b your-branch-name
- Create a new branch for your contribution. This helps to keep your code separate from the main project code. You can do this with the following command:
-
Make Changes:
- Make your changes to the code. You can add new files, modify existing files, etc.
-
Add and Commit Changes:
- Add the modified files using the following command:
git add .
- Then, commit the changes:
git commit -m "Brief description of your changes"
- Add the modified files using the following command:
-
Push Changes to GitHub:
- Push your changes to your GitHub repository using the following command:
git push origin your-branch-name
- Push your changes to your GitHub repository using the following command:
-
Create a Pull Request:
- Go to your repository on GitHub and switch to the branch you just pushed. Then, click the "New Pull Request" button. Provide information about your changes and create the pull request.
-
Wait for Review:
- Project collaborators will review your Pull Request. You may need to make additional changes based on their feedback.
-
Update Your Local Branch (if necessary):
- If collaborators make changes to the main branch while you're waiting for the review, you should update your local branch with these changes:
git pull origin your-branch-name
- If collaborators make changes to the main branch while you're waiting for the review, you should update your local branch with these changes:
-
Repeat the Process:
- Make adjustments according to the reviews and repeat the process until your Pull Request is accepted.
That's essentially it! Make sure to follow the project's and GitHub's recommended practices.