Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cyril L'Orphelin
template-tp
Commits
ad6e12a3
Commit
ad6e12a3
authored
Oct 08, 2021
by
Cyril L'Orphelin
Browse files
git push
parent
434ccf94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
TP2/ReadMe.md
TP2/ReadMe.md
+17
-2
TP5/ReadMe.md
TP5/ReadMe.md
+1
-1
No files found.
TP2/ReadMe.md
View file @
ad6e12a3
...
...
@@ -139,5 +139,20 @@ nothing to commit, working tree clean
### Bonus : Astuces d'utilisation
-
Placez vous dans le répertoire TP2
-
\ No newline at end of file
Placez-vous dans le répertoire du TP2.
*
**Visualisation de l'historique d'une branche : commande `git log`**
*
exécutez la commande
`git log -p -2 --oneline`
*
exécutez la commande
`git log --oneline --graph`
*
exécutez la commande
`git log --graph --decorate --all`
*
**Création d'un alias**
*
`git config --global alias.fancylog "log --decorate --graph –all"`
*
exécutez
`git fancylog`
*
**Comment dire à Git d'ignorer le suivi de fichiers**
*
créez un fichier hello.pyc et un fichier .gitignore contenant
*
.pyc
*
modifiez le fichier README.md et ajoutez-le sur une nouvelle ligne au fichier .gitignore
*
essayez de commiter individuellement les fichiers README.md et hello.pyc
*
supprimez du suivi de modification le fichier README.md
*
récupérez la première version du README.md et commitez la (plusieurs solutions possibles)
\ No newline at end of file
TP5/ReadMe.md
View file @
ad6e12a3
...
...
@@ -164,7 +164,7 @@ job_test3 :
</code></pre>
</details>
### Etape 2 : Automatisation des tests
avec Pyth
on
### Etape 2 : Automatisation des tests
et génération de la documentati
on
**Problème 1**
*
Vous allez désormais utiliser une image python:3 pour exécuter le pipeline et il va falloir installer les modules qui vont bien !
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment