Browse Source

Update 'README.md'

Pierre-Yves Barriat 7 years ago
parent
commit
8b05eaa779
1 changed files with 20 additions and 3 deletions
  1. 20 3
      README.md

+ 20 - 3
README.md

@@ -13,9 +13,15 @@ We are going to do some exercises in a dummy project that you can find in this c
 
 ## Getting started
 
-Prepare your environment for the first use of Git.
+First you may need to install the Git command-line tools.
+
+### Linux
 
-> Of course, you must have git installed. With ubuntu: **sudo apt-get install git**
+- With ubuntu: `sudo apt install git`
+- With centos: `sudo yum install git`
+- With suse: `sudo zypper --non-interactive install git`
+
+Prepare your environment for the first use of Git.
 
 For instance:
 
@@ -29,7 +35,8 @@ git config --global color.branch auto
 git config --global core.editor "vim"
 git config --global push.default simple
 ```
-Clone the Git_Training repository.
+
+Clone the Git_Training repository
 
 For instance:
 
@@ -47,6 +54,16 @@ And now:
 git clone ssh://git@www.climate.be:3022/TECLIM/Git_Training.git
 ```
 
+### Windows or Mac
+
+[Download and Install Git](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources)
+
+Clone the Git_Training repository
+
+For instance, paste the URL into TortoiseGit and it will clone the repo locally on your computer:
+
+![6.png](https://www.elic.ucl.ac.be/TECLIM/Git_Training/raw/master/resources/6.png)
+
 ## Tips and Tricks
 
 #### How do I add an empty directory to a Git repository ?