mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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 <rybak.a.v@gmail.com>
This commit is contained in:
parent
be1c5b574b
commit
b607140a2a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue