|
@@ -1,30 +1,37 @@
|
|
|
# Set up your working environment
|
|
|
|
|
|
-## Exercise 1 – Git global configuration and Github configuration
|
|
|
+## Exercise 1 - Git global configuration
|
|
|
|
|
|
First of all you will have to configure git locally in your desktop:
|
|
|
|
|
|
-You must have git installed. See the instructions [here](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/README.md)
|
|
|
+You must have git installed. See the instructions [here](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/README.md).
|
|
|
|
|
|
-Go to [https://github.com/](https://github.com/) and "Sign-in".
|
|
|
+### Gogs
|
|
|
+
|
|
|
+Go to https://gogs.elic.ucl.ac.be/ and "Sign-in".
|
|
|
+> Choose **local** and use your family name as login and your name as password.
|
|
|
+
|
|
|
+### GitHub
|
|
|
+
|
|
|
+Go to https://github.com/ and "Sign-in".
|
|
|
|
|
|
After completing this step you will need to ask access to the repositories you want. Send an email to the administrators of this (these) project(s) asking access to.
|
|
|
|
|
|
-## Exercise 2 – Clone into a working environment
|
|
|
+## Exercise 2 - Clone a project
|
|
|
|
|
|
To start working you need to create a clone, called afterward “working copy” of the git_tutorial project from Github in your home (or folder of your choice):
|
|
|
|
|
|
For instance, paste the URL into TortoiseGit and it will clone the repo locally on your computer:
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
It will ask for your username and password and you will see output like this:
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
It has created a 'Git_Training' folder and you can browse into it:
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
Git clone allows you to specify parameters such as the target folder. If you don't specify it the working copy will be named as the project.
|
|
|
|