Skip to content
Extraits de code Groupes Projets
Valider 3b627232 rédigé par Pierre-Yves Barriat's avatar Pierre-Yves Barriat
Parcourir les fichiers

Move gogs -> forge

parent ca7f0b97
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -135,23 +135,25 @@ pie
---
# ... and `GitLab` vs `GitHub` vs others
# ... and `GitLab`
`GitLab` is an alternative to `GitHub`
`GitLab` is an open-source self-hosted alternative to `GitHub`
> `GitLab` is free for unlimited private projects. `GitHub` doesn't provide private projects for free
And for **ELIC**, `Gogs` does the job: https://gogs.elic.ucl.ac.be/
- shares the same features
> dashboard, file browser, issue tracking, groups support, webhooks, etc
- easy to install, cross-platform friendly
- uses little memory, uses little CPU power
- ... and 100% free :smile:
The **UCLouvain Forge** is a `GitLab` instance: https://forge.uclouvain.be/
Shares the same features : dashboard, file browser, issue tracking, groups support, CI/CD, etc
> `GitLab`: comprehensive DevOps platform, integrated CI/CD, and security features
> `GitHub`: user-friendly interface, robust collaboration tools, and extensive community support
<!-- Notes for presenter. -->
<!--
Les goûts et les couleurs
-->
<!-- _footer: "" -->
---
# `git` workflow
......@@ -230,6 +232,8 @@ git add <filename>
git commit -m "Commit message"
```
<!-- _footer: "" -->
---
# commit
......@@ -297,7 +301,7 @@ sequenceDiagram
# Simple Git Exercices
First, configure your environment (just once) :construction:
> on your laptop, on your ELIC account, etc
> on your laptop, on your UCLouvain account, etc
```bash
git config --global user.name "Your Name"
......@@ -311,6 +315,8 @@ Now, clone https://forge.uclouvain.be/elic/learning.git
> Theses are very simple exercices to learn to manipulate git.
> In each folder, simply run `./create.sh` in `learning-git` folder, and follow the guide :sunglasses:
<!-- _footer: "" -->
---
# `git` branches
......@@ -319,7 +325,7 @@ Now, clone https://forge.uclouvain.be/elic/learning.git
- a **branch** can point at other commit
> it can move !
- a **branch** is a way to organize your work and working histories
- since commit know which commits they are based on, **branch** represents a commit and what came before it
- since commits know which commits they are based on, **branch** represents a commit and what came before it
- a branch is cheap, you can have multiple **branch** in the same repository and switch your working dir from one **branch** state to another
---
......@@ -355,7 +361,7 @@ graph LR;
> see both local and remote branches
### branch is cheap : do it often :+1:
> branch allow to have short/long term parallel development
> branch allows to have short/long term parallel development
---
......@@ -475,7 +481,8 @@ pull = fetch + merge
- avoid dropbox for paper / project :confounded:
- do meaningful commit
- do meaningful message
- `git` more complicated but the standard :smiley:
- `git` can seem complicated when you first start using it, but it is standard version control system used by nearly 95% of developers as of 2022 :smiley:
- `git` offers powerful features and flexibility that make it indispensable for collaborative software development
---
......
Aucun aperçu pour ce type de fichier
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter