diff options
author | Raul Infante-Sainz <infantesainz@gmail.com> | 2020-01-27 17:27:18 +0000 |
---|---|---|
committer | Raul Infante-Sainz <infantesainz@gmail.com> | 2020-01-27 17:34:20 +0000 |
commit | d95fd520e19ddbc1cd8e9f900495e9d32db742cd (patch) | |
tree | 49754f55e7e90330741502e56056c79342c69189 | |
parent | 36dd26c5baf6ae55b44e3d048f7547fadabd67fe (diff) |
Moving basic configuration of Git section in README-hacking.md
Until this commit, the small section of `README-hacking.md' in which it
is explained how to do the first configuration of Git was at the
beginning of the section `First custom commit'. However, it is better to
have it just before the item `Your first commit' in that section. With
this commit, this change has been done. Now the reader has the necessary
steps for configuring Git just before it is needed for making the first
commit.
-rw-r--r-- | .file-metadata | bin | 7792 -> 7792 bytes | |||
-rw-r--r-- | README-hacking.md | 26 |
2 files changed, 13 insertions, 13 deletions
diff --git a/.file-metadata b/.file-metadata Binary files differindex 11448d4..ddbc9e2 100644 --- a/.file-metadata +++ b/.file-metadata diff --git a/README-hacking.md b/README-hacking.md index 8e004cd..33d129b 100644 --- a/README-hacking.md +++ b/README-hacking.md @@ -533,19 +533,6 @@ get more advanced in later stages of your work. First custom commit ------------------- - - **Configure Git for fist time**: If you have never used Git, then you - have to configure it with some basic information in order to have - essential information in the commit messages (ignore this step if you - have already done it). Git will include your name and e-mail address - information in each commit. You can also specify your favorite text - editor for making the commit (`emacs`, `vim`, etc.). - - ```shell - $ git config --global user.name "YourName YourSurname" - $ git config --global user.email your-email@example.com - $ git config --global core.editor vim - ``` - - **Get this repository and its history** (if you don't already have it): Arguably the easiest way to start is to clone this repository as shown below. As you see, after the cloning some further corrections to your @@ -736,6 +723,19 @@ First custom commit Copyright (C) 2020 YOUR NAME <YOUR@EMAIL.ADDRESS> ``` + - **Configure Git for fist time**: If you have never used Git, then you + have to configure it with some basic information in order to have + essential information in the commit messages (ignore this step if you + have already done it). Git will include your name and e-mail address + information in each commit. You can also specify your favorite text + editor for making the commit (`emacs`, `vim`, etc.). + + ```shell + $ git config --global user.name "YourName YourSurname" + $ git config --global user.email your-email@example.com + $ git config --global core.editor vim + ``` + - **Your first commit**: You have already made some small and basic changes in the steps above and you are in the `master` branch. So, you can officially make your first commit in your project's history. But |