From b607140a2a173e3d5f66e6e91191661dede0f9fe Mon Sep 17 00:00:00 2001 From: Andrei Rybak Date: Sat, 14 Jan 2023 14:34:29 +0100 Subject: [PATCH] CONTRIBUTING.md: format command example in monospace Replace double quotes around `git commit --amend` command example in `CONTRIBUTING.md` with single backticks to format it in monospace font. Signed-off-by: Andrei Rybak --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c2bdbce54..553d7bb6d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ Edit the code (or documentation), compile, test… then create a commit: git commit -s -a Depending on your OS this will open a default editor – usually you can define which by setting the environment variable `GIT_EDITOR`. Here you enter your commit message. The first line is the title of your commit. Keep it brief and to the point. Then a longer explanation (more on this and the fact that we insist on all contributions containing a Signed-off-by: line below). -If you want to change the commit message, "git commit --amend" is the way to go. Feel free to break your changes into multiple smaller commits. Then, when you are done there are two directions to go, which one you find easier depends a bit on how familiar you are with GitHub. You can either push your branch to GitHub and create a [pull requests on GitHub][6], or you run: +If you want to change the commit message, `git commit --amend` is the way to go. Feel free to break your changes into multiple smaller commits. Then, when you are done there are two directions to go, which one you find easier depends a bit on how familiar you are with GitHub. You can either push your branch to GitHub and create a [pull requests on GitHub][6], or you run: git format-patch master..devel