summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorEd Morley <edmorley@users.noreply.github.com>2017-08-04 11:08:50 +0100
committerEd Morley <edmorley@users.noreply.github.com>2017-08-04 11:08:50 +0100
commit65cecea8f155a1d2762b86e88702c9fb91ca5213 (patch)
tree384a412e86cd71cdd199343820260cffa931d0fb /CONTRIBUTING.md
parent97dee8d4dc0c0f618ec6427b84246a5a439b3d23 (diff)
downloadchef-65cecea8f155a1d2762b86e88702c9fb91ca5213.tar.gz
Fix git command in DCO sign-off example
Previously the first dash in `--amend` was a unicode en dash (U+2013) rather than a hyphen, which results in the confusing: ``` $ git commit –-amend -s error: pathspec '–-amend' did not match any file(s) known to git. ``` Signed-off-by: Ed Morley <edmorley@users.noreply.github.com>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1f197360f5..723c7e0ec8 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -90,7 +90,7 @@ The DCO requires a sign-off message in the following format appear on each commi
Signed-off-by: Julia Child <juliachild@chef.io>
```
-The DCO text can either be manually added to your commit body, or you can add either **-s** or **--signoff** to your usual git commit commands. If you forget to add the sign-off you can also amend a previous commit with the sign-off by running **git commit –-amend -s**. If you've pushed your changes to Github already you'll need to force push your branch after this with **git push -f**.
+The DCO text can either be manually added to your commit body, or you can add either **-s** or **--signoff** to your usual git commit commands. If you forget to add the sign-off you can also amend a previous commit with the sign-off by running **git commit --amend -s**. If you've pushed your changes to Github already you'll need to force push your branch after this with **git push -f**.
### Chef Obvious Fix Policy