Thank you for your interest in contributing to the amass ecosystem! If you are looking for ways to contribute to the project, please consider checking out open issues.
Open Asset Model uses a fork & pull model for contributions. This means that you will need to fork this repository using the Fork button in the top right of the page.
- Once you have forked the repository, you'll need to clone it. The following commands will clone the repository to your local machine and allow Go to resolve the import paths correctly. This will set owasp-amass as your origin remote and your fork as a secondary remote.
git clone https://github.com/owasp-amass/asset-db $GOPATH/src/github.com/owasp-amass/asset-db
git remote add [github-user] https://github.com/[github-user]/asset-db
- Create a new branch for your contribution.
git checkout --track origin/develop
git pull origin develop
git checkout -b [fix-or-improvment-name]
-
Make the changes that you wish to contribute.
-
Commit your changes to your branch.
git add <updated files>
git commit -m "A short description of the changes"
- Push your branch to your fork
git push [github-user] [fix-or-improvment-name]
- Create a pull request into the
develop
branch ofowasp-amass/asset-db
- All commits should be pushed to your fork and be submitted as
pull requests into the
develop
branch ofowasp-amass/asset-db
. - Force pushing is not allowed. If you need to update your pull request, simply make an additional commit.
- Ensure that your pull request is up-to-date with the
develop
branch before submitting.