diff --git a/course/content/source-control/git/README.md b/course/content/source-control/git/README.md index 6679597..2a124da 100644 --- a/course/content/source-control/git/README.md +++ b/course/content/source-control/git/README.md @@ -75,15 +75,31 @@ usage: git [--version] [--help] [-C ] [-c =] ``` +## Create directory for our repositories + +I would highly recommend to create a folder where you want to store your GIT repositories.
+This may be in your USER, HOME folder, or you could create it on `C:\` if you are using Windows.
+This is entirely up to you. + +Windows: +``` +cd C:\ +mkdir gitrepos +``` +Linux: +``` +mkdir ~/gitrepos +``` + ## Configure GIT We firstly have to tell GIT who we are.
For this we set a username and an email.
This is very important especially when we are planning to host our repository on Github or another source control provider
-Remember the command `git help -a` which shows us all the available commands ?
+Remember the command option `-h` which shows us all the available options and help text for a command?
The one we want to start off with is `git config`
-note: `git config -a` Also has a `-a` to view all options
+note: `git config -h` Has help texts that describes how we can use the command
We can configure GIT either globally, so which account to use for all repositories by using the `--global` flag, or only for a single repository by using the `--local` flag :