# CLA

## The Contributor License Agreement

Tencent defines the legal status of the contributed code in a *Contributor License Agreement* (CLA).

Only original source code from CLA signatories can be accepted into TARS.

### What am I agreeing to?

This CLA allows either an individual or an entity (the "**Corporation**") to Submit Contributions to Tencent, to authorize Contributions Submitted by its employees or agents to Tencent (in the case of a Corporation), and to grant copyright and patent licenses thereto.

It is important to read and understand this legal agreement.

### How do I sign?

1. Create a pull request, the system will remind you the CLA is not signed yet. Click the url. You will receive an email at the same time.

![](https://211854462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKWVpRE8j8fOTPPSus%2Fuploads%2Fgit-blob-4f0f808ae031f053f80f68f9582b0a3f14dd924e%2Fcla1.png?alt=media\&token=2b230c2c-6e7b-434d-bc46-8682e93c1b8d)

2. Click to sign in with Github to agree.

![](https://211854462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKWVpRE8j8fOTPPSus%2Fuploads%2Fgit-blob-806b8ff3bd5718ee5e6c939e389312e0da4e5cb6%2Fcla2.png?alt=media\&token=0808210e-32ca-43aa-9a0a-b96ca70977c6)

3. That's it, for real!

![](https://211854462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjKWVpRE8j8fOTPPSus%2Fuploads%2Fgit-blob-4eee0a5c32f43f8721ce4b4da4b4016c3298f49b%2Fcla3.png?alt=media\&token=5a04a7eb-e745-4b22-8d1e-69ed5311c128)

### Ensure your Github e-mail address matches address used to sign CLA

Your Github email address **must match** the same address you use when signing the CLA. Github has [documentation](https://help.github.com/articles/setting-your-commit-email-address-on-github/) on setting email addresses.

You must also set your [git e-mail](https://help.github.com/articles/setting-your-email-in-git) to match this e-mail address as well.

If you've already submitted a PR you can correct your user.name and user.email and then use use `git commit --amend --reset-author` and then `git push --force` to correct the PR.
