Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.75 KB

CONTRIBUTING.md

File metadata and controls

59 lines (42 loc) · 1.75 KB

Contributing

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.

Getting Started

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.

  1. 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
  1. Create a new branch for your contribution.
git checkout --track origin/develop
git pull origin develop
git checkout -b [fix-or-improvment-name]
  1. Make the changes that you wish to contribute.

  2. Commit your changes to your branch.

git add <updated files>
git commit -m "A short description of the changes"
  1. Push your branch to your fork
git push [github-user] [fix-or-improvment-name]
  1. Create a pull request into the develop branch of owasp-amass/asset-db

Notes regarding contributions

  • All commits should be pushed to your fork and be submitted as pull requests into the develop branch of owasp-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.