Browse Source

Update 'Readme.md'

master
parent
commit
a1bfdde818
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      Readme.md

+ 5
- 5
Readme.md View File

@ -2,7 +2,7 @@
This a repository example to practice the Git basic commands.
# First commit #
The first commit is the creation of the =file-a.md= file and some lines of code.
The first commit is the creation of the `file-a.md` file and some lines of code.
Then the repository will be enable by
@ -10,7 +10,7 @@ Then the repository will be enable by
$ git init
```
after that our first file has been created and will be filled with the next lines of code using the =echo= command or =Vim= editor:
after that our first file has been created and will be filled with the next lines of code using the `echo` command or `Vim` editor:
``` shell
vi file-a.md
@ -24,15 +24,15 @@ Line 2
Line 3
```
to quit =Vim= editor use =:wq!= in command mode (pressing first the ESC key)
to quit `Vim` editor use `:wq!` in command mode (pressing first the ESC key)
Then, we have to add the file we want to track by =git add <file(s)>= command:
Then, we have to add the file we want to track by `git add <file(s)>` command:
``` shell
$ git add file-a.md
```
To finalize the process, we have to use the =git commit= command:
To finalize the process, we have to use the `git commit` command:
``` shell
$ git commit -m "first commit"


Loading…
Cancel
Save