diff options
| author | Francesco Borzì <borzifrancesco@gmail.com> | 2020-12-05 21:35:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-05 21:35:07 +0100 |
| commit | 5714ab3777d7f866a5eb9aa9b2c6b080262433ea (patch) | |
| tree | c52117fb383b29a944957823e2848eca0bf73e43 /docs | |
| parent | 96ed5ba103648bbe80177a13c7dcf55547ab6653 (diff) | |
| download | wiki-5714ab3777d7f866a5eb9aa9b2c6b080262433ea.tar.gz wiki-5714ab3777d7f866a5eb9aa9b2c6b080262433ea.tar.bz2 wiki-5714ab3777d7f866a5eb9aa9b2c6b080262433ea.zip | |
docs(how-to-test-a-PR): add vim instructions (#302)
* improve-how-to-test-pr-nano-vs-vim
* Update How-to-test-a-PR.md
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/How-to-test-a-PR.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/How-to-test-a-PR.md b/docs/How-to-test-a-PR.md index 3919f2b..4a8b672 100644 --- a/docs/How-to-test-a-PR.md +++ b/docs/How-to-test-a-PR.md @@ -58,7 +58,12 @@ git remote add upstream https://github.com/azerothcore/azerothcore-wotlk.git The commands above will create a new local branch called `pr-XXXX` which will contain all the changes that need to be tested. -The terminal might prompt an editor (usually `nano`) that asks to save the merge commit message. Just save the changes and exit the editor. If the editor is `nano`, you can do it by simply using `CTRL+O` and `ENTER` to save then `CTRL+X` to exit. +The terminal will prompt an editor (usually `nano` or `vim`) that asks to save the merge commit message. Just save the changes and exit the editor. + +- If the editor is `nano`, you can do it by simply using `CTRL+O` and `ENTER` to save then `CTRL+X` to exit. +- If the editor is `vim` you can hold the `SHIFT` key and press two times `Z` to save and exist. + +You can read more about the `git` configuration and its default editor [here](http://web.mit.edu/6.005/www/fa14/tutorial/git/config.html). ## Update your local server to apply the changes |
