We welcome contributions to Mutillidae-Docker! To ensure a smooth collaboration, please follow the steps outlined below for submitting changes via feature branches.
-
Fork the Repository:
- Click the Fork button at the top-right corner of the Mutillidae-Docker GitHub repository.
-
Clone Your Fork:
git clone https://github.com/<your-username>/mutillidae-docker.git cd mutillidae-docker
-
Set the Original Repository as Upstream:
- Add the upstream repository to stay in sync with the main project:
git remote add upstream https://github.com/webpwnized/mutillidae-docker.git
-
Create a New Branch for Your Changes:
- Use a descriptive branch name that reflects the feature or issue being worked on:
git checkout -b feature/your-feature-name
-
Make Your Changes:
- Add, modify, or remove files as needed.
-
Commit Your Changes:
- Write meaningful commit messages:
git add . git commit -m "feat: Brief description of the changes"
Before submitting your changes, make sure your feature branch is up-to-date with the latest code from the main repository.
-
Fetch and Merge Changes from Upstream:
git fetch upstream git merge upstream/main
-
Resolve Any Merge Conflicts (if needed):
- If conflicts arise, carefully resolve them before proceeding.
-
Push Your Feature Branch to Your Fork:
git push origin feature/your-feature-name
-
Open a Pull Request:
- Go to the Mutillidae-Docker repository and click on New Pull Request.
- Select your feature branch and submit the pull request with a clear title and description.
- A project maintainer will review your pull request. Be prepared to make changes if feedback is provided.
- Once your pull request is approved, it will be merged into the main repository.
- Follow the feature branch GitOps model: each feature or bug fix should have its own branch.
- Use meaningful commit messages following the conventional commits style (
feat:
,fix:
,docs:
, etc.). - Ensure your changes do not break existing functionality by running tests (if applicable).
- Keep your pull requests small and focused on a single issue or feature to make reviews easier.
Thank you for your contribution! Together, we can make Mutillidae-Docker even better.