© 2010—2022 - Renaud Blanch
Les squelettes fournis dans les TPs sont fournis via des entrepôt git. Vous devez :
q1
', 'q2
', etc.
Par exemple, pour le premier TP, on clone ainsi pour travailler en local dans le répertoire grapher
:
% git clone https://gricad-gitlab.univ-grenoble-alpes.fr/blanch-ens/java-swing-grapher grapherUne fois que je vous ai attribué un numéro de groupe (ici
00
), vous pouvez préparer l'entrepôt pour pousser vos changements ainsi :
% cd grapher grapher% git remote remove origin grapher% git remote add origin https://gricad-gitlab.univ-grenoble-alpes.fr/m1-tli/2022-2023/00/1-grapher grapher% git push -u origin --allPar la suite, un simple
git push
permettra de publier vos changements dans l'entrepôt.
Pour taguer les versions correspondantes aux questions, git tag
s'utilise ainsi :
grapher% git tag q1 # si c'est le dernier commit qui correspond à la question 1 grapher% git tag q1 a575caff # pour taguer le commit a575caff grapher% git push origin q1 # pour pousser le tag
mise à jour : 9 septembre 2022