Skip to content

gonative-cc/contributig

Logo!

Contribute to Native

This repository contains shared resources about contribution and security policies:

Network

Developer Certificate of Origin

The Developer Certificate of Origin (DCO) is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project. See the full text of the DCO.

We require all contributors to affirm Developer Certificate of Origin (DCO) on Pull Requests. It requires:

  1. all commit messages to contain the Signed-off-by line with an email address that matches the commit author: Signed-off-by: Author Name <[email protected]>. You can do this automatically by using the -s flag (i.e., git commit -s). Example message:

    This is my commit message
    
    Signed-off-by: Random J Developer <[email protected]>
    
    • To add your Signed-off-by line to every commit in your branch you can run

      git rebase HEAD~<number of commits in your branch> --signoff
      git push --force-with-lease
      
  2. Sign all your commits. You can accomplish this by:

    • Set commit.gpgsign = true in your .gitconfig. The easiest way is to set it globally: git config --global commit.gpgsign true.
    • add -S option when running git command, eg: git commit -S -m "YOUR_COMMIT_MESSAGE"
    • Adding signing key to your GitHub, for commits done through GitHub.

About

Guidelines and resources for Native org contributions

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks