Skip to content

Commit

Permalink
Update CONTRIBUTING.md and test new DCO signature in this commit
Browse files Browse the repository at this point in the history
Signed-off-by: Tibor Vass <[email protected]>
  • Loading branch information
tiborvass committed Aug 1, 2014
1 parent 4909a70 commit 6b04d59
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,18 +208,16 @@ By making a contribution to this project, I certify that:

Then you just add a line to every git commit message:

Docker-DCO-1.1-Signed-off-by: Joe Smith <[email protected]> (github: github_handle)
Signed-off-by: Joe Smith <[email protected]>

Using your real name (sorry, no pseudonyms or anonymous contributions.)

One way to automate this, is customize your git `commit.template` by adding
a `prepare-commit-msg` hook to your Docker repository:
If you set your `user.name` and `user.email` git configs, you can sign your
commit automatically with `git commit -s`.

```
curl -sSL -o .git/hooks/prepare-commit-msg https://raw.githubusercontent.com/docker/docker/master/contrib/prepare-commit-msg.hook && chmod +x .git/hooks/prepare-commit-msg
```

* Note: the above script expects to find your GitHub user name in `git config --get github.user`
Note that the old-style `Docker-DCO-1.1-Signed-off-by: ...` format is still
accepted, so there is no need to update outstanding pull requests to the new
format right away, but please do adjust your processes for future contributions.

#### Small patch exception

Expand Down

0 comments on commit 6b04d59

Please sign in to comment.