|
@@ -2,14 +2,14 @@
|
|
|
|
|
|
## Purpose
|
|
|
|
|
|
-The Git Training session started with a lesson of basics on Git and collaborative development. You can find the presentation [here](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/slides/Git_ELIC.pdf).
|
|
|
+The Git Training session started with a lesson of basics on Git and collaborative development. You can find the presentation [here](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/slides/Git_ELIC.pdf).
|
|
|
|
|
|
The second part of the Git Training consists on a hands on. The objectives are to show how to use:
|
|
|
|
|
|
- Git on the command line OR TortoiseGit with Windows
|
|
|
- Gogs portal
|
|
|
|
|
|
-We are going to do some exercises in a dummy project that you can find in this common Gogs [repository](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/project).
|
|
|
+We are going to do some exercises in a dummy project that you can find in this common Gogs [repository](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/project).
|
|
|
|
|
|
## Getting started
|
|
|
|
|
@@ -44,7 +44,7 @@ For instance:
|
|
|
[ ! -f ~/.ssh/id_rsa.pub ] && ssh-keygen -t rsa
|
|
|
cat ~/.ssh/id_rsa.pub | xclip -sel clip
|
|
|
```
|
|
|
-1. Go to https://www.elic.ucl.ac.be/user/settings/ssh,
|
|
|
+1. Go to https://gogs.elic.ucl.ac.be/user/settings/ssh,
|
|
|
2. click on the 'Add Key' button,
|
|
|
3. enter the Key Name you want,
|
|
|
4. and finally do a 'CTRL-V' in Content.
|
|
@@ -56,7 +56,7 @@ 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/README.md)
|
|
|
+[Download and Install Git](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/README.md)
|
|
|
|
|
|
Clone the Git_Training repository:
|
|
|
|
|
@@ -66,7 +66,7 @@ https://www.elic.ucl.ac.be/TECLIM/Git_Training.git
|
|
|
|
|
|
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)
|
|
|
+![6.png](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/raw/master/resources/6.png)
|
|
|
|
|
|
## Tips and Tricks
|
|
|
|
|
@@ -131,11 +131,11 @@ Then, when you want to diff, just use ```git difftool``` instead of ```git diff`
|
|
|
|
|
|
## Additional resources
|
|
|
|
|
|
-[Git cheat sheet](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources)
|
|
|
+[Git cheat sheet](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources)
|
|
|
|
|
|
-[Windows or MAC OS X](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources)
|
|
|
+[Windows or MAC OS X](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources)
|
|
|
|
|
|
-[Tricky commands](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/tricky.md)
|
|
|
+[Tricky commands](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/tricky.md)
|
|
|
|
|
|
[Got 15 minutes and want to learn Git?](https://try.github.io)
|
|
|
|
|
@@ -143,7 +143,7 @@ Then, when you want to diff, just use ```git difftool``` instead of ```git diff`
|
|
|
|
|
|
## Contributors
|
|
|
|
|
|
-- ELIC members [@pbarriat](https://www.elic.ucl.ac.be/pbarriat)
|
|
|
+- ELIC members [@pbarriat](https://gogs.elic.ucl.ac.be/pbarriat)
|
|
|
|
|
|
## References
|
|
|
|
|
@@ -153,4 +153,4 @@ Then, when you want to diff, just use ```git difftool``` instead of ```git diff`
|
|
|
|
|
|
## License
|
|
|
|
|
|
-This project is under the Creative Commons CC0 1.0 Universal License. See the [LICENSE](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/LICENSE) file for the full license text.
|
|
|
+This project is under the Creative Commons CC0 1.0 Universal License. See the [LICENSE](https://gogs.elic.ucl.ac.be/TECLIM/Git_Training/src/master/LICENSE) file for the full license text.
|